diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-19 08:58:12 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-19 08:58:12 +0000 |
commit | 7d8867df6c96bf76c040042a834af04a8ab319bc (patch) | |
tree | 3e0914651dc6093502fc65fb89631bd34031528e /chrome/browser/extensions/sandboxed_extension_unpacker.h | |
parent | 6145198177d58f79e7ed1b44fee883ea074fc5fa (diff) | |
download | chromium_src-7d8867df6c96bf76c040042a834af04a8ab319bc.zip chromium_src-7d8867df6c96bf76c040042a834af04a8ab319bc.tar.gz chromium_src-7d8867df6c96bf76c040042a834af04a8ab319bc.tar.bz2 |
Refactor app-related manifest properties so that they don't
include the name 'app'. I think these will be useful for normal
extensions, too.
Also extract an ExtensionExtent class out of Extension. I think
this will be useful for passing by value to the IO thread.
Review URL: http://codereview.chromium.org/1025006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42091 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/sandboxed_extension_unpacker.h')
-rw-r--r-- | chrome/browser/extensions/sandboxed_extension_unpacker.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.h b/chrome/browser/extensions/sandboxed_extension_unpacker.h index 25d77b6..a3b190c 100644 --- a/chrome/browser/extensions/sandboxed_extension_unpacker.h +++ b/chrome/browser/extensions/sandboxed_extension_unpacker.h @@ -96,9 +96,9 @@ class SandboxedExtensionUnpacker : public UtilityProcessHost::Client { ResourceDispatcherHost* rdh, SandboxedExtensionUnpackerClient* cilent); - const GURL& app_origin_override() const { return app_origin_override_; } - void set_app_origin_override(const GURL& val) { - app_origin_override_ = val; + const GURL& web_origin() const { return web_origin_; } + void set_web_origin(const GURL& val) { + web_origin_ = val; } // Start unpacking the extension. The client is called with the results. @@ -169,10 +169,10 @@ class SandboxedExtensionUnpacker : public UtilityProcessHost::Client { // The public key that was extracted from the CRX header. std::string public_key_; - // If the unpacked extension is an app, its origin will be forced to this - // value. This is used when an app is self-hosted. The only valid origin - // is the origin it is served from. - GURL app_origin_override_; + // If the unpacked extension uses web content, its origin will be set to this + // value. This is used when an app is self-hosted. The only valid origin is + // the origin it is served from. + GURL web_origin_; }; #endif // CHROME_BROWSER_EXTENSIONS_SANDBOXED_EXTENSION_UNPACKER_H_ |