Home | History | Annotate | Download | only in common

Lines Matching refs:chrome

5 #include "chrome/common/chrome_paths.h"
13 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/chrome_paths_internal.h"
15 #include "chrome/common/chrome_switches.h"
26 FILE_PATH_LITERAL("Flash Player Plugin for Chrome.plugin");
39 #else // Linux and Chrome OS
50 #else // Linux and Chrome OS
56 namespace chrome {
61 // If called from Chrome, get internal plugins from a subdirectory of the
64 *result = chrome::GetFrameworkBundlePath();
79 case chrome::DIR_APP:
81 case chrome::DIR_LOGS:
84 return PathService::Get(chrome::DIR_USER_DATA, result);
91 // If we're called from chrome, dump it beside the app (outside the
104 case chrome::FILE_RESOURCE_MODULE:
114 case chrome::DIR_USER_DATA:
121 case chrome::DIR_USER_DOCUMENTS:
126 case chrome::DIR_DEFAULT_DOWNLOADS_SAFE:
134 case chrome::DIR_DEFAULT_DOWNLOADS:
140 case chrome::DIR_CRASH_DUMPS:
150 case chrome::DIR_USER_DESKTOP:
154 case chrome::DIR_RESOURCES:
159 if (!PathService::Get(chrome::DIR_APP, &cur))
164 case chrome::DIR_SHARED_RESOURCES:
165 if (!PathService::Get(chrome::DIR_RESOURCES, &cur))
169 case chrome::DIR_INSPECTOR:
170 if (!PathService::Get(chrome::DIR_RESOURCES, &cur))
174 case chrome::DIR_APP_DICTIONARIES:
180 if (!PathService::Get(chrome::DIR_USER_DATA, &cur))
189 case chrome::DIR_USER_DATA_TEMP:
190 if (!PathService::Get(chrome::DIR_USER_DATA, &cur))
194 case chrome::DIR_INTERNAL_PLUGINS:
198 case chrome::DIR_MEDIA_LIBS:
204 return PathService::Get(chrome::DIR_APP, result);
206 case chrome::FILE_LOCAL_STATE:
207 if (!PathService::Get(chrome::DIR_USER_DATA, &cur))
209 cur = cur.Append(chrome::kLocalStateFilename);
211 case chrome::FILE_RECORDED_SCRIPT:
212 if (!PathService::Get(chrome::DIR_USER_DATA, &cur))
216 case chrome::FILE_FLASH_PLUGIN:
223 case chrome::FILE_PDF_PLUGIN:
228 case chrome::FILE_NACL_PLUGIN:
233 case chrome::FILE_RESOURCES_PACK:
249 case chrome::FILE_CHROMEOS_API:
259 case chrome::DIR_TEST_DATA:
262 cur = cur.Append(FILE_PATH_LITERAL("chrome"));
268 case chrome::DIR_TEST_TOOLS:
271 cur = cur.Append(FILE_PATH_LITERAL("chrome"));
278 case chrome::DIR_POLICY_FILES: {
280 cur = FilePath(FILE_PATH_LITERAL("/etc/opt/chrome/policies"));
290 case chrome::DIR_MANAGED_PREFS: {
304 case chrome::DIR_USER_EXTERNAL_EXTENSIONS: {
305 if (!PathService::Get(chrome::DIR_USER_DATA, &cur))
329 } // namespace chrome