Prototype extension process. This is a proof of concept, with a lot of
rough edges. Mostly this just fires up a renderer with an "extension" object
exposed, which right now only has a single method "getTestString".
I also did some misc cleanup along the way.
Review URL: http://codereview.chromium.org/27187
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10620 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 9600c6c..7c7041e 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -371,8 +371,7 @@
ExtensionErrorReporter::Init(true); // allow noisy errors.
user_script_master_ = new UserScriptMaster(
g_browser_process->file_thread()->message_loop(), script_dir);
- extensions_service_ = new ExtensionsService(
- FilePath(GetPath()), user_script_master_.get());
+ extensions_service_ = new ExtensionsService(this, user_script_master_.get());
// If we have extensions, the extension service will kick off the first scan
// after extensions are loaded. Otherwise, we need to do that now.