blob: 1e53a85ddc7cf9a43f5a0a7262dcd1598f4ec8ca [file] [log] [blame]
Avi Drissman3e1a26c2022-09-15 20:26:031// Copyright 2012 The Chromium Authors
[email protected]42ce29d2011-01-20 23:19:462// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef UI_BASE_UI_BASE_PATHS_H_
6#define UI_BASE_UI_BASE_PATHS_H_
[email protected]42ce29d2011-01-20 23:19:467
Henrique Ferreiro376c7652020-05-22 09:00:048#include "base/component_export.h"
[email protected]f152b67b2012-08-03 12:43:299#include "build/build_config.h"
[email protected]ea47b6a2011-07-17 19:39:4210
[email protected]9911b5e2014-05-15 18:33:0511// This file declares path keys for various special directories. These can be
12// used with the PathService to access these directories and files.
[email protected]42ce29d2011-01-20 23:19:4613
14namespace ui {
15
16enum {
17 PATH_START = 3000,
18
Sylvain Defresneeeef5692023-06-19 13:08:3319#if !BUILDFLAG(IS_IOS)
Xiaohan Wang84074092022-01-20 21:25:5420 DIR_LOCALES, // Directory where locale resources are stored.
Sylvain Defresneeeef5692023-06-19 13:08:3321#endif
[email protected]42ce29d2011-01-20 23:19:4622
[email protected]f152b67b2012-08-03 12:43:2923 // Valid only in development environment; TODO(darin): move this
Xiaohan Wang84074092022-01-20 21:25:5424 UI_DIR_TEST_DATA, // Directory where unit test data resides.
[email protected]42ce29d2011-01-20 23:19:4625
Xiaohan Wang84074092022-01-20 21:25:5426#if BUILDFLAG(IS_ANDROID)
[email protected]f152b67b2012-08-03 12:43:2927 DIR_RESOURCE_PAKS_ANDROID,
28#endif
29
[email protected]9911b5e2014-05-15 18:33:0530 UI_TEST_PAK,
31
[email protected]42ce29d2011-01-20 23:19:4632 PATH_END
33};
34
dchengc52359d2014-10-16 00:36:3435// Call once to register the provider for the path keys defined above.
Henrique Ferreiro376c7652020-05-22 09:00:0436COMPONENT_EXPORT(UI_BASE) void RegisterPathProvider();
[email protected]42ce29d2011-01-20 23:19:4637
38} // namespace ui
39
40#endif // UI_BASE_UI_BASE_PATHS_H_