OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef IOS_CHROME_BROWSER_CHROME_PATHS_H_ | 5 #ifndef IOS_CHROME_BROWSER_CHROME_PATHS_H_ |
6 #define IOS_CHROME_BROWSER_CHROME_PATHS_H_ | 6 #define IOS_CHROME_BROWSER_CHROME_PATHS_H_ |
7 | 7 |
8 // This file declares path keys for the Chrome on iOS application. These can be | 8 // This file declares path keys for the Chrome on iOS application. These can be |
9 // used with the PathService to access various special directories and files. | 9 // used with the PathService to access various special directories and files. |
10 | 10 |
11 namespace ios { | 11 namespace ios { |
12 | 12 |
13 enum { | 13 enum { |
14 PATH_START = 2000, | 14 PATH_START = 2000, |
15 | 15 |
16 DIR_USER_DATA = PATH_START, // Directory where user data can be written. | 16 DIR_USER_DATA = PATH_START, // Directory where user data can be written. |
17 DIR_CRASH_DUMPS, // Directory where crash dumps are written. | 17 DIR_CRASH_DUMPS, // Directory where crash dumps are written. |
18 DIR_TEST_DATA, // Directory where unit test data resides. | 18 DIR_TEST_DATA, // Directory where unit test data resides. |
19 | 19 DIR_GLOBAL_GCM_STORE, // Directory where the global GCM instance |
20 FILE_LOCAL_STATE, // Path and filename to the file in which | 20 // stores its data. |
21 // installation-specific state is saved. | 21 FILE_LOCAL_STATE, // Path and filename to the file in which |
| 22 // installation-specific state is saved. |
| 23 FILE_RESOURCES_PACK, // Full path to the .pak file containing binary |
| 24 // data (e.g. html files and images used by |
| 25 // internal pages). |
22 | 26 |
23 PATH_END | 27 PATH_END |
24 }; | 28 }; |
25 | 29 |
26 // Call once to register the provider for the path keys defined above. | 30 // Call once to register the provider for the path keys defined above. |
27 void RegisterPathProvider(); | 31 void RegisterPathProvider(); |
28 | 32 |
29 } // namespace | 33 } // namespace |
30 | 34 |
31 #endif // IOS_CHROME_BROWSER_CHROME_PATHS_H_ | 35 #endif // IOS_CHROME_BROWSER_CHROME_PATHS_H_ |
OLD | NEW |