diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 19:40:28 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 19:40:28 +0000 |
commit | ea93fec3e697bedb13f1e60823eeb1edd295a1fd (patch) | |
tree | a417dae0253b5b0a3223e058501bc18da31bc31e /chrome/common/chrome_paths.cc | |
parent | 571e31155b13e96295c3423c2da5280c3242e2ac (diff) | |
download | chromium_src-ea93fec3e697bedb13f1e60823eeb1edd295a1fd.zip chromium_src-ea93fec3e697bedb13f1e60823eeb1edd295a1fd.tar.gz chromium_src-ea93fec3e697bedb13f1e60823eeb1edd295a1fd.tar.bz2 |
Move/Copy paths used by app to app_paths.
http://crbug.com/11387
Review URL: http://codereview.chromium.org/113452
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16173 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths.cc')
-rw-r--r-- | chrome/common/chrome_paths.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc index c1b4ce6..1c307ed 100644 --- a/chrome/common/chrome_paths.cc +++ b/chrome/common/chrome_paths.cc @@ -92,25 +92,6 @@ bool PathProvider(int key, FilePath* result) { cur = cur.Append(FILE_PATH_LITERAL("resources")); cur = cur.Append(FILE_PATH_LITERAL("inspector")); break; - case chrome::DIR_THEMES: - if (!PathService::Get(chrome::DIR_APP, &cur)) - return false; - cur = cur.Append(FILE_PATH_LITERAL("themes")); - create_dir = true; - break; - case chrome::DIR_LOCALES: - if (!PathService::Get(chrome::DIR_APP, &cur)) - return false; -#if defined(OS_MACOSX) - // On Mac, locale files are in Contents/Resources, a sibling of the - // App dir. - cur = cur.DirName(); - cur = cur.Append(FILE_PATH_LITERAL("Resources")); -#else - cur = cur.Append(FILE_PATH_LITERAL("locales")); -#endif - create_dir = true; - break; case chrome::DIR_APP_DICTIONARIES: #if defined(OS_LINUX) // We can't write into the EXE dir on Linux, so keep dictionaries |