scheme_constants.h 885 B

1234567891011121314151617181920212223242526
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_UKM_SCHEME_CONSTANTS_H_
  5. #define COMPONENTS_UKM_SCHEME_CONSTANTS_H_
  6. #include "base/component_export.h"
  7. namespace ukm {
  8. // Defines several URL scheme constants to avoid dependencies.
  9. // kAppScheme will be defined in code that isn't available here.
  10. COMPONENT_EXPORT(UKM_RECORDER)
  11. extern const char kAppScheme[];
  12. // kChromeUIScheme is defined in content, which this code can't depend on
  13. // since it's used by iOS too.
  14. COMPONENT_EXPORT(UKM_RECORDER)
  15. extern const char kChromeUIScheme[];
  16. // kExtensionScheme is defined in extensions which also isn't available here.
  17. COMPONENT_EXPORT(UKM_RECORDER)
  18. extern const char kExtensionScheme[];
  19. } // namespace ukm
  20. #endif // COMPONENTS_UKM_SCHEME_CONSTANTS_H_