ui_base_paths.h 971 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Copyright (c) 2012 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 UI_BASE_UI_BASE_PATHS_H_
  5. #define UI_BASE_UI_BASE_PATHS_H_
  6. #include "base/component_export.h"
  7. #include "build/build_config.h"
  8. // This file declares path keys for various special directories. These can be
  9. // used with the PathService to access these directories and files.
  10. namespace ui {
  11. enum {
  12. PATH_START = 3000,
  13. DIR_LOCALES, // Directory where locale resources are stored.
  14. // Valid only in development environment; TODO(darin): move this
  15. UI_DIR_TEST_DATA, // Directory where unit test data resides.
  16. #if BUILDFLAG(IS_ANDROID)
  17. DIR_RESOURCE_PAKS_ANDROID,
  18. #endif
  19. UI_TEST_PAK,
  20. PATH_END
  21. };
  22. // Call once to register the provider for the path keys defined above.
  23. COMPONENT_EXPORT(UI_BASE) void RegisterPathProvider();
  24. } // namespace ui
  25. #endif // UI_BASE_UI_BASE_PATHS_H_