summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths_internal.h
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 16:42:16 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 16:42:16 +0000
commite4221ad535d561b931bd900db9278825adf36b06 (patch)
tree5ca7bef32977d76773f975d13a34c11dd86eab04 /chrome/common/chrome_paths_internal.h
parent9997409a1d70d0f44936ce49227520406b543c6d (diff)
downloadchromium_src-e4221ad535d561b931bd900db9278825adf36b06.zip
chromium_src-e4221ad535d561b931bd900db9278825adf36b06.tar.gz
chromium_src-e4221ad535d561b931bd900db9278825adf36b06.tar.bz2
Move all resources into the framework.
BUG=14610 (in support of unbreaking auto-update) TEST=The .app's Contents/Resources folder should not contain the resources that are moving to the .framework's Resources folder; The .app's Contents/Resources folder should still contain app.icns, document.icns, the helper .app, and a whole slew of .lprojs that only contain InfoPlist.strings; Make sure Breakpad still works in the browser, renderer, and other process types. Review URL: http://codereview.chromium.org/256062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths_internal.h')
-rw-r--r--chrome/common/chrome_paths_internal.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/chrome/common/chrome_paths_internal.h b/chrome/common/chrome_paths_internal.h
index 54b9870..dc61634 100644
--- a/chrome/common/chrome_paths_internal.h
+++ b/chrome/common/chrome_paths_internal.h
@@ -9,6 +9,14 @@
#include "base/file_path.h"
+#if defined(OS_MACOSX)
+#ifdef __OBJC__
+@class NSBundle;
+#else
+class NSBundle;
+#endif
+#endif
+
namespace chrome {
// Get the path to the user's data directory, regardless of whether
@@ -30,13 +38,9 @@ bool GetUserDownloadsDirectory(FilePath* result);
bool GetUserDesktop(FilePath* result);
#if defined(OS_MACOSX)
-// Retrieves the browser bundle path. It is only valid to call this from a
-// helper process, as it makes assumptions about the location of the enclosing
-// bundle on disk.
-FilePath GetBrowserBundlePath();
-#endif // defined(OS_MACOSX)
+NSBundle* GetFrameworkBundle();
+#endif // OS_MACOSX
} // namespace chrome
-
#endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_