diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 21:03:23 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 21:03:23 +0000 |
commit | a9b00acc0c03fff42673e3eb0d953768640a5fb1 (patch) | |
tree | 06b8d431e7760a10fcab5ee2a2493b8b22118fca /chrome/browser/profile.cc | |
parent | 6501bc016d78c6d419b89bf991314148e6e4494b (diff) | |
download | chromium_src-a9b00acc0c03fff42673e3eb0d953768640a5fb1.zip chromium_src-a9b00acc0c03fff42673e3eb0d953768640a5fb1.tar.gz chromium_src-a9b00acc0c03fff42673e3eb0d953768640a5fb1.tar.bz2 |
Refactored ExtensionsPrefs to store paths relative to the extensions install directory. Fix & reenabled two extensions_service unit_tests.
R=erikkay
BUG=14714
Review URL: http://codereview.chromium.org/140018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 99643a1..18cd5ef 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -494,7 +494,11 @@ void ProfileImpl::InitExtensions() { g_browser_process->file_thread()->message_loop(), script_dir); extensions_service_ = new ExtensionsService( - this, CommandLine::ForCurrentProcess(), MessageLoop::current(), + this, + CommandLine::ForCurrentProcess(), + GetPrefs(), + GetPath().AppendASCII(ExtensionsService::kInstallDirectoryName), + MessageLoop::current(), g_browser_process->file_thread()->message_loop()); extensions_service_->Init(); |