diff options
author | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 08:20:27 +0000 |
---|---|---|
committer | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 08:20:27 +0000 |
commit | 45928b68fd4a932a615cd558e92a94ebe757dbe6 (patch) | |
tree | 74b80731f4f298aff692fcbd977226b7d6193bc5 /extensions | |
parent | f097dccc802c2ba638d0b83f3af18e2f70c68719 (diff) | |
download | chromium_src-45928b68fd4a932a615cd558e92a94ebe757dbe6.zip chromium_src-45928b68fd4a932a615cd558e92a94ebe757dbe6.tar.gz chromium_src-45928b68fd4a932a615cd558e92a94ebe757dbe6.tar.bz2 |
Remove dependency from ExtensionService to app mode utils.
This is done by introducing a function on the generic extensions browser
client to determine if the system is running in forced app mode.
BUG=298537
Review URL: https://codereview.chromium.org/93783002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237742 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/browser/extensions_browser_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h index 01b6aab..6331dae 100644 --- a/extensions/browser/extensions_browser_client.h +++ b/extensions/browser/extensions_browser_client.h @@ -64,6 +64,9 @@ class ExtensionsBrowserClient { // Creates a new AppSorting instance. virtual scoped_ptr<AppSorting> CreateAppSorting() = 0; + // Return true if the system is run in forced app mode. + virtual bool IsRunningInForcedAppMode() = 0; + // Returns the single instance of |this|. static ExtensionsBrowserClient* Get(); |