diff options
author | dubroy@chromium.org <dubroy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-18 14:40:02 +0000 |
---|---|---|
committer | dubroy@chromium.org <dubroy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-18 14:40:02 +0000 |
commit | 25ae0154d995ac643a1e61d43107ba10e2ee55ec (patch) | |
tree | 99545fea59a9c2d6eece030917b884e7967d1dd9 /chrome/browser/extensions/test_extension_service.h | |
parent | 3b0836d46ed49b74e52fdaa32d4b7b9545b10b2e (diff) | |
download | chromium_src-25ae0154d995ac643a1e61d43107ba10e2ee55ec.zip chromium_src-25ae0154d995ac643a1e61d43107ba10e2ee55ec.tar.gz chromium_src-25ae0154d995ac643a1e61d43107ba10e2ee55ec.tar.bz2 |
Add policies to specify an enterprise web store.
Admins can specify the URL, name, and icon to be used for the enterprise
web store. The app itself is implemented as a component extension, with
some of the manifest values being specified by policy.
BUG=88464
TEST=New ComponentLoaderTest class added to unit_tests. Additional
manual testing: set "EnterpriseWebStoreURL" policy to a valid URL and
start up Chrome. Verify that there is an app on the new tab page that
links to the specified URL. If possible, try installing an extension from
somewhere on that URL, and ensure that no warning is shown before
showing the permission dialog.
Review URL: http://codereview.chromium.org/8477005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110698 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/test_extension_service.h')
-rw-r--r-- | chrome/browser/extensions/test_extension_service.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/extensions/test_extension_service.h b/chrome/browser/extensions/test_extension_service.h index 6abf325..2e7d2e4 100644 --- a/chrome/browser/extensions/test_extension_service.h +++ b/chrome/browser/extensions/test_extension_service.h @@ -52,6 +52,14 @@ class TestExtensionService : public ExtensionServiceInterface { virtual SyncError ProcessSyncChanges( const tracked_objects::Location& from_here, const SyncChangeList& change_list) OVERRIDE; + + virtual bool is_ready() OVERRIDE; + + virtual void AddExtension(const Extension* extension) OVERRIDE; + + virtual void UnloadExtension( + const std::string& extension_id, + extension_misc::UnloadedExtensionReason reason) OVERRIDE; }; #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ |