summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 21:03:23 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 21:03:23 +0000
commita9b00acc0c03fff42673e3eb0d953768640a5fb1 (patch)
tree06b8d431e7760a10fcab5ee2a2493b8b22118fca /chrome/browser/profile.cc
parent6501bc016d78c6d419b89bf991314148e6e4494b (diff)
downloadchromium_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.cc6
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();