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

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

Issue 658005: Bring Geolocation to life!... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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 | « chrome/browser/geolocation/location_arbitrator.cc ('k') | chrome/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/location_arbitrator_unittest.cc
===================================================================
--- chrome/browser/geolocation/location_arbitrator_unittest.cc (revision 39892)
+++ chrome/browser/geolocation/location_arbitrator_unittest.cc (working copy)
@@ -42,22 +42,22 @@
protected:
virtual void SetUp() {
access_token_store_ = new FakeAccessTokenStore;
- arbitrator_.reset(GeolocationArbitrator::Create(access_token_store_.get(),
- NULL));
- arbitrator_->SetUseMockProvider(true);
+ GeolocationArbitrator::SetUseMockProvider(true);
+ arbitrator_ = GeolocationArbitrator::Create(access_token_store_.get(),
+ NULL);
}
virtual void TearDown() {
}
scoped_refptr<FakeAccessTokenStore> access_token_store_;
- scoped_ptr<GeolocationArbitrator> arbitrator_;
+ scoped_refptr<GeolocationArbitrator> arbitrator_;
};
TEST_F(GeolocationLocationArbitratorTest, CreateDestroy) {
EXPECT_TRUE(access_token_store_);
EXPECT_TRUE(arbitrator_ != NULL);
- arbitrator_.reset();
+ arbitrator_ = NULL;
SUCCEED();
}
« no previous file with comments | « chrome/browser/geolocation/location_arbitrator.cc ('k') | chrome/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698