diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-18 22:09:40 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-18 22:09:40 +0000 |
commit | adf0225bfea22dd085a1e0816871af9e8f1fe372 (patch) | |
tree | 96fd5362f73388c6a72359db01b33dfbc6d15f81 /chrome/common/chrome_paths_internal.h | |
parent | 98e94a40052f163889a5d6026a24d750edf28818 (diff) | |
download | chromium_src-adf0225bfea22dd085a1e0816871af9e8f1fe372.zip chromium_src-adf0225bfea22dd085a1e0816871af9e8f1fe372.tar.gz chromium_src-adf0225bfea22dd085a1e0816871af9e8f1fe372.tar.bz2 |
Mac: app mode loader (shim).
Define an interface using which Chrome can be loaded from a minimal loader.
Produce a binary for this loader (which can be put into a bundle).
BUG=13148
TEST=not yet
Review URL: http://codereview.chromium.org/2066004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47576 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths_internal.h')
-rw-r--r-- | chrome/common/chrome_paths_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths_internal.h b/chrome/common/chrome_paths_internal.h index 5254f51..7d731e1 100644 --- a/chrome/common/chrome_paths_internal.h +++ b/chrome/common/chrome_paths_internal.h @@ -40,6 +40,13 @@ bool GetUserDesktop(FilePath* result); // in the .app at Contents/Versions/w.x.y.z. FilePath GetVersionedDirectory(); +// This overrides the directory returned by |GetVersionedDirectory()|, to be +// used when |GetVersionedDirectory()| can't automatically determine the proper +// location. This is the case when the browser didn't load itself but by, e.g., +// the app mode loader. This should be called before |ChromeMain()|. This takes +// ownership of the object |path| and the caller must not delete it. +void SetOverrideVersionedDirectory(const FilePath* path); + // Most of the application is further contained within the framework. The // framework bundle is located within the versioned directory at a specific // path. The only components in the versioned directory not included in the |