summaryrefslogtreecommitdiffstats
path: root/apps/shell
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-17 08:22:47 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-17 08:22:47 +0000
commit06ab83c188942061620a6e88e03a939bb0ffb3b7 (patch)
tree57f58ebc95011539dfd664f85929ab33e169fd39 /apps/shell
parent3c08a8b453a35715e70bae92e11065b937885920 (diff)
downloadchromium_src-06ab83c188942061620a6e88e03a939bb0ffb3b7.zip
chromium_src-06ab83c188942061620a6e88e03a939bb0ffb3b7.tar.gz
chromium_src-06ab83c188942061620a6e88e03a939bb0ffb3b7.tar.bz2
Adds an item for loaded app.
A big todo is to load the icon correctly. extension_icon_image is still under chrome/browser for multiple reasons. BUG=380421 R=jamescook@chromium.org, oshima@chromium.org TBR=miket@chromium.org TEST=manually Review URL: https://codereview.chromium.org/336263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/shell')
-rw-r--r--apps/shell/browser/shell_extension_system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/shell/browser/shell_extension_system.h b/apps/shell/browser/shell_extension_system.h
index f977161..c451edd 100644
--- a/apps/shell/browser/shell_extension_system.h
+++ b/apps/shell/browser/shell_extension_system.h
@@ -45,6 +45,8 @@ class ShellExtensionSystem : public ExtensionSystem {
// KeyedService implementation:
virtual void Shutdown() OVERRIDE;
+ scoped_refptr<Extension> extension() { return extension_; }
+
// ExtensionSystem implementation:
virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE;
virtual ExtensionService* extension_service() OVERRIDE;