diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-20 22:21:30 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-20 22:21:30 +0000 |
commit | 3540c591c0fc870a976edd6bbf5c01c530b67d90 (patch) | |
tree | cb91a5ad06959e36d488230f27a1f94e146f68b4 /chrome/browser/profile.cc | |
parent | b5b0687ff4386ba964ea6c7b5dd1f3e541b7708b (diff) | |
download | chromium_src-3540c591c0fc870a976edd6bbf5c01c530b67d90.zip chromium_src-3540c591c0fc870a976edd6bbf5c01c530b67d90.tar.gz chromium_src-3540c591c0fc870a976edd6bbf5c01c530b67d90.tar.bz2 |
Hook up more of extension uninstall.
Also removed all external dependencies from ExtensionsService.
It now only sends out notifications, which other services
consume. This should allow us to unit test the
ExtensionsService frontend, but I haven't added that yet.
Review URL: http://codereview.chromium.org/113493
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index cdb7c00..2ca2342 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -477,7 +477,10 @@ void ProfileImpl::InitExtensions() { ExtensionErrorReporter::Init(true); // allow noisy errors. user_script_master_ = new UserScriptMaster( g_browser_process->file_thread()->message_loop(), script_dir); - extensions_service_ = new ExtensionsService(this, user_script_master_.get()); + extensions_service_ = new ExtensionsService( + this, MessageLoop::current(), + g_browser_process->file_thread()->message_loop(), + std::string()); // Use default registry path // If we have extensions, the extension service will kick off the first scan // after extensions are loaded. Otherwise, we need to do that now. |