summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 06:21:08 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 06:21:08 +0000
commit36a784c511d467509d9a70a76b0865f60380ec37 (patch)
treeb07995a90e876a6ff10ae2965c25bc190ae75072 /chrome/browser/profile.cc
parentf338a0ed8c0490fad58fa47799c98909e8750978 (diff)
downloadchromium_src-36a784c511d467509d9a70a76b0865f60380ec37.zip
chromium_src-36a784c511d467509d9a70a76b0865f60380ec37.tar.gz
chromium_src-36a784c511d467509d9a70a76b0865f60380ec37.tar.bz2
Re-enable the --enable-extensions flag. Fix a bug where the extensions.enable pref was not being honored. Add tests.
This is intended to be submitted after: http://codereview.chromium.org/132003 BUG=13467 TEST=Added unit tests Review URL: http://codereview.chromium.org/132045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 179f506..67e9810 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -478,7 +478,7 @@ void ProfileImpl::InitExtensions() {
g_browser_process->file_thread()->message_loop(),
script_dir);
extensions_service_ = new ExtensionsService(
- this, MessageLoop::current(),
+ this, CommandLine::ForCurrentProcess(), MessageLoop::current(),
g_browser_process->file_thread()->message_loop());
extensions_service_->Init();