summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 04:54:09 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 04:54:09 +0000
commitf8bf62e85f15247e9804ba2494f9b7595f7504eb (patch)
tree0796d77df8c562c9787a252cce5f3180551e03ce /chrome/common
parent4a813cc835bcd26f2c2eea3fd734644a58ec45f2 (diff)
downloadchromium_src-f8bf62e85f15247e9804ba2494f9b7595f7504eb.zip
chromium_src-f8bf62e85f15247e9804ba2494f9b7595f7504eb.tar.gz
chromium_src-f8bf62e85f15247e9804ba2494f9b7595f7504eb.tar.bz2
Revert 57460 - Add hidden component app for web store.
This patch adds a component which does not appear on the NTP, but does enforce that gallery urls are isolated in their own process. This is in anticipation of exposing extension api bindings to the gallery so it can install/detect/uninstall extensions & apps. Note that this patch works correctly with the --apps-gallery-url. If specified, the replacement url will be inserted into the component app's extent BUG=27431 Review URL: http://codereview.chromium.org/3116040 TBR=rafaelw@chromium.org Review URL: http://codereview.chromium.org/3180027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/extensions/extension.h5
-rw-r--r--chrome/common/extensions/extension_constants.cc1
-rw-r--r--chrome/common/extensions/extension_constants.h3
3 files changed, 1 insertions, 8 deletions
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 5d993cfc..9c51d1a 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -346,13 +346,10 @@ class Extension {
const std::string omnibox_keyword() const { return omnibox_keyword_; }
bool is_app() const { return is_app_; }
- ExtensionExtent& web_extent() { return web_extent_; }
+ const ExtensionExtent& web_extent() const { return web_extent_; }
const ExtensionExtent& browse_extent() const { return browse_extent_; }
const std::string& launch_local_path() const { return launch_local_path_; }
const std::string& launch_web_url() const { return launch_web_url_; }
- void set_launch_web_url(const std::string& launch_web_url) {
- launch_web_url_ = launch_web_url;
- }
LaunchContainer launch_container() const { return launch_container_; }
bool launch_fullscreen() const { return launch_fullscreen_; }
int launch_width() const { return launch_width_; }
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index 313b84c..7467185 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -299,5 +299,4 @@ const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS";
namespace extension_misc {
const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno";
-const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb";
}
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h
index 9bd5e1e..b95887f 100644
--- a/chrome/common/extensions/extension_constants.h
+++ b/chrome/common/extensions/extension_constants.h
@@ -212,9 +212,6 @@ namespace extension_misc {
// The extension id of the bookmark manager.
extern const char* kBookmarkManagerId;
-
- // The extension id of the Web Store component application.
- extern const char* kWebStoreAppId;
} // extension_misc
#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_