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

Unified Diff: chrome/browser/first_run/first_run_win.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/first_run/first_run_win.cc
diff --git a/chrome/browser/first_run/first_run_win.cc b/chrome/browser/first_run/first_run_win.cc
index aeaab3384c8d4f20c86193cf6894ca78d6bf6ac5..3dbb6836c70c263d36f61381fee4cc3d8fb25a2d 100644
--- a/chrome/browser/first_run/first_run_win.cc
+++ b/chrome/browser/first_run/first_run_win.cc
@@ -185,7 +185,7 @@ class ImportProcessRunner : public base::win::ObjectWatcher::Delegate {
: import_process_(import_process),
exit_code_(content::RESULT_CODE_NORMAL_EXIT) {
watcher_.StartWatching(import_process, this);
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
virtual ~ImportProcessRunner() {
::CloseHandle(import_process_);
@@ -200,7 +200,7 @@ class ImportProcessRunner : public base::win::ObjectWatcher::Delegate {
if (!::GetExitCodeProcess(import_process_, &exit_code_)) {
NOTREACHED();
}
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
private:
@@ -314,7 +314,7 @@ int ImportFromBrowser(Profile* profile,
// If the import process has not errored out, block on it.
if (!observer.ended()) {
observer.set_should_quit_message_loop();
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
// TODO(gab): This method will be go away as part of http://crbug.com/219419/,
// so it is fine to hardcode |RESULT_CODE_NORMAL_EXIT| here for now.

Powered by Google App Engine
This is Rietveld 408576698