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

Unified Diff: chrome/browser/extensions/startup_helper.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: chrome/browser/extensions/startup_helper.cc
diff --git a/chrome/browser/extensions/startup_helper.cc b/chrome/browser/extensions/startup_helper.cc
index 5f3a90c0d999d848d2876e99f861ae09e932b949..90402d8624da7265473e2e3493df04d4de89a79a 100644
--- a/chrome/browser/extensions/startup_helper.cc
+++ b/chrome/browser/extensions/startup_helper.cc
@@ -300,11 +300,12 @@ bool StartupHelper::InstallFromWebstore(const CommandLine& cmd_line,
}
AppInstallHelper helper;
- helper.BeginInstall(profile, id,
+ helper.BeginInstall(profile,
+ id,
!cmd_line.HasSwitch(switches::kForceAppMode),
- MessageLoop::QuitWhenIdleClosure());
+ base::MessageLoop::QuitWhenIdleClosure());
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
if (!helper.success())
LOG(ERROR) << "InstallFromWebstore failed with error: " << helper.error();
return helper.success();

Powered by Google App Engine
This is Rietveld 408576698