summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 20:47:25 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 20:47:25 +0000
commit6d7c8059b0b3c9e5f079bb8f0569b0de6a115330 (patch)
tree93b51fcbae522fdd93b0d8031922ab131a9eb2ac /chrome/browser/profile.cc
parentb674dc73f0b635aa2f7be660153e5b05f6a9b593 (diff)
downloadchromium_src-6d7c8059b0b3c9e5f079bb8f0569b0de6a115330.zip
chromium_src-6d7c8059b0b3c9e5f079bb8f0569b0de6a115330.tar.gz
chromium_src-6d7c8059b0b3c9e5f079bb8f0569b0de6a115330.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@16529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc5
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.