Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3426)

Unified Diff: chrome/browser/automation/automation_provider.cc

Issue 345023: Get rid of MessageLoop* caching in extensions code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider.cc
===================================================================
--- chrome/browser/automation/automation_provider.cc (revision 30521)
+++ chrome/browser/automation/automation_provider.cc (working copy)
@@ -2152,15 +2152,12 @@
reply_message);
const FilePath& install_dir = service->install_directory();
- MessageLoop* io_loop = g_browser_process->file_thread()->message_loop();
-
CrxInstaller::Start(crx_path,
install_dir,
Extension::INTERNAL,
"", // no expected id
false, // please do not delete crx file
true, // privilege increase allowed
- io_loop,
service,
NULL); // silent isntall, no UI
} else {
« no previous file with comments | « no previous file | chrome/browser/chrome_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698