Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7233)

Unified Diff: chrome/common/chrome_paths.cc

Issue 115420: Reland this change. Registers paths for the testing exe, too.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_paths.h ('k') | chrome/test/data/icon_util/128_X_128_icon.ico » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_paths.cc
===================================================================
--- chrome/common/chrome_paths.cc (revision 16191)
+++ chrome/common/chrome_paths.cc (working copy)
@@ -92,25 +92,6 @@
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
« no previous file with comments | « chrome/common/chrome_paths.h ('k') | chrome/test/data/icon_util/128_X_128_icon.ico » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698