OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_COMMON_CHROME_PATHS_H__ | 5 #ifndef CHROME_COMMON_CHROME_PATHS_H__ |
6 #define CHROME_COMMON_CHROME_PATHS_H__ | 6 #define CHROME_COMMON_CHROME_PATHS_H__ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 // "My Documents/Downloads". | 32 // "My Documents/Downloads". |
33 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. | 33 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. |
34 DIR_USER_DATA_TEMP, // A temp directory within DIR_USER_DATA. Use | 34 DIR_USER_DATA_TEMP, // A temp directory within DIR_USER_DATA. Use |
35 // this when a temporary file or directory will | 35 // this when a temporary file or directory will |
36 // be moved into the profile, to avoid issues | 36 // be moved into the profile, to avoid issues |
37 // moving across volumes. See crbug.com/13044 . | 37 // moving across volumes. See crbug.com/13044 . |
38 // Getting this path does not create it. Users | 38 // Getting this path does not create it. Users |
39 // should check that the path exists before | 39 // should check that the path exists before |
40 // using it. | 40 // using it. |
41 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. | 41 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. |
42 DIR_MEDIA_LIBS, // Directory where the Media libraries reside. | |
43 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 42 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
44 DIR_POLICY_FILES, // Directory for system-wide read-only | 43 DIR_POLICY_FILES, // Directory for system-wide read-only |
45 // policy files that allow sys-admins | 44 // policy files that allow sys-admins |
46 // to set policies for chrome. This directory | 45 // to set policies for chrome. This directory |
47 // contains subdirectories. | 46 // contains subdirectories. |
48 #endif | 47 #endif |
49 #if defined(OS_MACOSX) | 48 #if defined(OS_MACOSX) |
50 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist | 49 DIR_MANAGED_PREFS, // Directory that stores the managed prefs plist |
51 // files for the current user. | 50 // files for the current user. |
52 #endif | 51 #endif |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 115 |
117 PATH_END | 116 PATH_END |
118 }; | 117 }; |
119 | 118 |
120 // Call once to register the provider for the path keys defined above. | 119 // Call once to register the provider for the path keys defined above. |
121 void RegisterPathProvider(); | 120 void RegisterPathProvider(); |
122 | 121 |
123 } // namespace chrome | 122 } // namespace chrome |
124 | 123 |
125 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 124 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |