Chromium Code Reviews| Index: chrome/common/chrome_paths.cc |
| diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc |
| index 9dca7e037a6f7a3937abcf9c15581f5dfee7040a..0bf9a7d1e65cc0bdd6b4c0a8e7c3fce3fec2887c 100644 |
| --- a/chrome/common/chrome_paths.cc |
| +++ b/chrome/common/chrome_paths.cc |
| @@ -168,11 +168,6 @@ bool PathProvider(int key, FilePath* result) { |
| return false; |
| cur = cur.Append(FILE_PATH_LITERAL("inspector")); |
| break; |
| - case chrome::DIR_NET_INTERNALS: |
| - if (!PathService::Get(chrome::DIR_RESOURCES, &cur)) |
| - return false; |
| - cur = cur.Append(FILE_PATH_LITERAL("net_internals")); |
| - break; |
| case chrome::DIR_APP_DICTIONARIES: |
| #if defined(OS_LINUX) || defined(OS_MACOSX) |
| // We can't write into the EXE dir on Linux, so keep dictionaries |
| @@ -250,8 +245,13 @@ bool PathProvider(int key, FilePath* result) { |
| #endif |
| break; |
| case chrome::FILE_RESOURCES_PACK: |
| +#if defined(OS_MACOSX) |
| + cur = mac_util::MainAppBundlePath(); |
| + cur = cur.Append(FILE_PATH_LITERAL("Resources")); |
|
tony
2010/06/17 00:16:21
Ah yes, this looks right.
|
| +#else // Linux/Windows/ChromeOS |
| if (!PathService::Get(base::DIR_EXE, &cur)) |
| return false; |
| +#endif |
| cur = cur.Append(FILE_PATH_LITERAL("resources.pak")); |
| break; |
| #if defined(OS_CHROMEOS) |