| 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 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 DIR_APP = PATH_START, // Directory where dlls and data reside. | 22 DIR_APP = PATH_START, // Directory where dlls and data reside. |
| 23 DIR_LOGS, // Directory where logs should be written. | 23 DIR_LOGS, // Directory where logs should be written. |
| 24 DIR_USER_DATA, // Directory where user data can be written. | 24 DIR_USER_DATA, // Directory where user data can be written. |
| 25 DIR_CRASH_DUMPS, // Directory where crash dumps are written. | 25 DIR_CRASH_DUMPS, // Directory where crash dumps are written. |
| 26 #if defined(OS_WIN) | 26 #if defined(OS_WIN) |
| 27 DIR_WATCHER_DATA, // Directory where the Chrome watcher stores | 27 DIR_WATCHER_DATA, // Directory where the Chrome watcher stores |
| 28 // data. | 28 // data. |
| 29 #endif | 29 #endif |
| 30 DIR_RESOURCES, // Directory containing separate file resources | 30 DIR_RESOURCES, // Directory containing separate file resources |
| 31 // used by Chrome at runtime. | 31 // used by Chrome at runtime. |
| 32 DIR_INSPECTOR, // Directory where web inspector is located. | 32 DIR_INSPECTOR_DEBUG, // Directory where web inspector is located. |
| 33 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. | 33 DIR_APP_DICTIONARIES, // Directory where the global dictionaries are. |
| 34 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". | 34 DIR_USER_DOCUMENTS, // Directory for a user's "My Documents". |
| 35 DIR_USER_MUSIC, // Directory for a user's music. | 35 DIR_USER_MUSIC, // Directory for a user's music. |
| 36 DIR_USER_PICTURES, // Directory for a user's pictures. | 36 DIR_USER_PICTURES, // Directory for a user's pictures. |
| 37 DIR_USER_VIDEOS, // Directory for a user's videos. | 37 DIR_USER_VIDEOS, // Directory for a user's videos. |
| 38 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's | 38 DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's |
| 39 // "My Documents/Downloads", (Windows) or | 39 // "My Documents/Downloads", (Windows) or |
| 40 // "Downloads". (Linux) | 40 // "Downloads". (Linux) |
| 41 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. | 41 DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads. |
| 42 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. | 42 DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 // Call once to register the provider for the path keys defined above. | 140 // Call once to register the provider for the path keys defined above. |
| 141 void RegisterPathProvider(); | 141 void RegisterPathProvider(); |
| 142 | 142 |
| 143 // Get or set the invalid user data dir that was originally specified. | 143 // Get or set the invalid user data dir that was originally specified. |
| 144 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); | 144 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); |
| 145 const base::FilePath& GetInvalidSpecifiedUserDataDir(); | 145 const base::FilePath& GetInvalidSpecifiedUserDataDir(); |
| 146 | 146 |
| 147 } // namespace chrome | 147 } // namespace chrome |
| 148 | 148 |
| 149 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 149 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
| OLD | NEW |