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

Unified Diff: content/browser/geolocation/geolocation_service_context.h

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/geolocation_service_context.h
diff --git a/content/browser/geolocation/geolocation_service_context.h b/content/browser/geolocation/geolocation_service_context.h
index 2e494a1222876aff39a5faede7dbc077de6b4f09..c97bb53a20b27734367de70c87810af0fbace5e4 100644
--- a/content/browser/geolocation/geolocation_service_context.h
+++ b/content/browser/geolocation/geolocation_service_context.h
@@ -42,7 +42,7 @@ class GeolocationServiceContext {
// Enables geolocation override. This method can be used to trigger possible
// location-specific behavior in a particular context.
- void SetOverride(scoped_ptr<Geoposition> geoposition);
+ void SetOverride(std::unique_ptr<Geoposition> geoposition);
// Disables geolocation override.
void ClearOverride();
@@ -51,7 +51,7 @@ class GeolocationServiceContext {
ScopedVector<GeolocationServiceImpl> services_;
bool paused_;
- scoped_ptr<Geoposition> geoposition_override_;
+ std::unique_ptr<Geoposition> geoposition_override_;
DISALLOW_COPY_AND_ASSIGN(GeolocationServiceContext);
};

Powered by Google App Engine
This is Rietveld 408576698