diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-04 18:18:06 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-04 18:18:06 +0000 |
commit | 2859946f1975cf973c5fd55e7322db57dfa0c16a (patch) | |
tree | 83451dbb62c6cd2b9e4ae660ab4bd851b442e35f /chrome/browser/extensions/extension_service.cc | |
parent | 45082d173d8cdf0d62f739cac6e1933e9e96993e (diff) | |
download | chromium_src-2859946f1975cf973c5fd55e7322db57dfa0c16a.zip chromium_src-2859946f1975cf973c5fd55e7322db57dfa0c16a.tar.gz chromium_src-2859946f1975cf973c5fd55e7322db57dfa0c16a.tar.bz2 |
Generalize ExtensionUpdateService to ExtensionServiceInterface
Add some methods to it that are used by sync. This enables mocks
to be used by extension/theme/app sync unit tests.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6670139
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_service.cc')
-rw-r--r-- | chrome/browser/extensions/extension_service.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc index 3bcd3f9..f5e8c7e 100644 --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc @@ -1053,6 +1053,10 @@ const ExtensionPrefs& ExtensionService::const_extension_prefs() const { return *extension_prefs_; } +ExtensionUpdater* ExtensionService::updater() { + return updater_.get(); +} + void ExtensionService::CheckAdminBlacklist() { std::vector<std::string> to_be_removed; // Loop through extensions list, unload installed extensions. |