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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 #endif | 126 #endif |
127 #if defined(OS_ANDROID) | 127 #if defined(OS_ANDROID) |
128 DIR_OFFLINE_PAGE_METADATA, // Directory where offline page metadata is | 128 DIR_OFFLINE_PAGE_METADATA, // Directory where offline page metadata is |
129 // stored. | 129 // stored. |
130 #endif | 130 #endif |
131 | 131 |
132 // Valid only in development environment; TODO(darin): move these | 132 // Valid only in development environment; TODO(darin): move these |
133 DIR_GEN_TEST_DATA, // Directory where generated test data resides. | 133 DIR_GEN_TEST_DATA, // Directory where generated test data resides. |
134 DIR_TEST_DATA, // Directory where unit test data resides. | 134 DIR_TEST_DATA, // Directory where unit test data resides. |
135 DIR_TEST_TOOLS, // Directory where unit test tools reside. | 135 DIR_TEST_TOOLS, // Directory where unit test tools reside. |
| 136 #if defined(OS_LINUX) |
| 137 FILE_COMPONENT_FLASH_HINT, // A file in a known location that points to |
| 138 // the component updated flash plugin. |
| 139 #endif // defined(OS_LINUX) |
136 | 140 |
137 PATH_END | 141 PATH_END |
138 }; | 142 }; |
139 | 143 |
140 // Call once to register the provider for the path keys defined above. | 144 // Call once to register the provider for the path keys defined above. |
141 void RegisterPathProvider(); | 145 void RegisterPathProvider(); |
142 | 146 |
143 // Get or set the invalid user data dir that was originally specified. | 147 // Get or set the invalid user data dir that was originally specified. |
144 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); | 148 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir); |
145 const base::FilePath& GetInvalidSpecifiedUserDataDir(); | 149 const base::FilePath& GetInvalidSpecifiedUserDataDir(); |
146 | 150 |
147 } // namespace chrome | 151 } // namespace chrome |
148 | 152 |
149 #endif // CHROME_COMMON_CHROME_PATHS_H__ | 153 #endif // CHROME_COMMON_CHROME_PATHS_H__ |
OLD | NEW |