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

Unified Diff: content/browser/geolocation/win7_location_provider_unittest_win.cc

Issue 14335017: content: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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: content/browser/geolocation/win7_location_provider_unittest_win.cc
diff --git a/content/browser/geolocation/win7_location_provider_unittest_win.cc b/content/browser/geolocation/win7_location_provider_unittest_win.cc
index 9c2e29992cb2c7c7346490b303f06c3dfc016af5..6083db23ee11768cfb3cbd97c785a78657b6cd6a 100644
--- a/content/browser/geolocation/win7_location_provider_unittest_win.cc
+++ b/content/browser/geolocation/win7_location_provider_unittest_win.cc
@@ -63,17 +63,17 @@ class MockWin7LocationApi : public Win7LocationApi {
class LocationProviderListenerLoopQuitter
: public LocationProviderBase::ListenerInterface {
public:
- explicit LocationProviderListenerLoopQuitter(MessageLoop* message_loop)
+ explicit LocationProviderListenerLoopQuitter(base::MessageLoop* message_loop)
: message_loop_to_quit_(message_loop) {
CHECK(message_loop_to_quit_ != NULL);
}
virtual void LocationUpdateAvailable(LocationProviderBase* provider) {
- EXPECT_EQ(MessageLoop::current(), message_loop_to_quit_);
+ EXPECT_EQ(base::MessageLoop::current(), message_loop_to_quit_);
provider_ = provider;
message_loop_to_quit_->Quit();
}
- MessageLoop* message_loop_to_quit_;
+ base::MessageLoop* message_loop_to_quit_;
LocationProviderBase* provider_;
};
@@ -97,7 +97,7 @@ class GeolocationProviderWin7Tests : public testing::Test {
protected:
MockWin7LocationApi* api_;
LocationProviderListenerLoopQuitter location_listener_;
- MessageLoop main_message_loop_;
+ base::MessageLoop main_message_loop_;
Win7LocationProvider* provider_;
};

Powered by Google App Engine
This is Rietveld 408576698