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

Unified Diff: chrome/browser/geolocation/geolocation_browsertest.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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/geolocation/geolocation_browsertest.cc
diff --git a/chrome/browser/geolocation/geolocation_browsertest.cc b/chrome/browser/geolocation/geolocation_browsertest.cc
index 8b715c7a0cbfc0d79502551171ce4e66124e8acc..797b401a8dfa8855881396ff2045d4b781888f3e 100644
--- a/chrome/browser/geolocation/geolocation_browsertest.cc
+++ b/chrome/browser/geolocation/geolocation_browsertest.cc
@@ -116,7 +116,7 @@ void IFrameLoader::Observe(int type,
javascript_completed_ = true;
}
if (javascript_completed_ && navigation_completed_)
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
}
@@ -194,9 +194,9 @@ void GeolocationNotificationObserver::Observe(
// We're either waiting for just the inforbar, or for both a javascript
// prompt and response.
if (wait_for_infobar_ && infobar_)
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
else if (navigation_completed_ && !javascript_response_.empty())
- MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->Quit();
}
void GeolocationNotificationObserver::AddWatchAndWaitForNotification(

Powered by Google App Engine
This is Rietveld 408576698