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

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

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/location_arbitrator_impl_unittest.cc
diff --git a/content/browser/geolocation/location_arbitrator_impl_unittest.cc b/content/browser/geolocation/location_arbitrator_impl_unittest.cc
index 0ca94b59f48b7e5b566bb7ef57534d4e177337cd..93b1645b65aed37fc912f56497b2177aa805be65 100644
--- a/content/browser/geolocation/location_arbitrator_impl_unittest.cc
+++ b/content/browser/geolocation/location_arbitrator_impl_unittest.cc
@@ -2,10 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "content/browser/geolocation/location_arbitrator_impl.h"
+
+#include <memory>
+
#include "base/bind.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/geolocation/fake_access_token_store.h"
-#include "content/browser/geolocation/location_arbitrator_impl.h"
#include "content/browser/geolocation/mock_location_provider.h"
#include "content/public/common/geoposition.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -143,8 +145,8 @@ class GeolocationLocationArbitratorTest : public testing::Test {
}
scoped_refptr<FakeAccessTokenStore> access_token_store_;
- scoped_ptr<MockLocationObserver> observer_;
- scoped_ptr<TestingLocationArbitrator> arbitrator_;
+ std::unique_ptr<MockLocationObserver> observer_;
+ std::unique_ptr<TestingLocationArbitrator> arbitrator_;
base::MessageLoop loop_;
};
« no previous file with comments | « content/browser/geolocation/geolocation_service_impl.h ('k') | content/browser/geolocation/network_location_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698