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

Unified Diff: content/browser/geolocation/geolocation_service_impl.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_impl.h
diff --git a/content/browser/geolocation/geolocation_service_impl.h b/content/browser/geolocation/geolocation_service_impl.h
index e0565eed8d55c72cb251b954f9fddbafa2c418b4..df37f8822176ee806044e4f27044c8daabe43b0a 100644
--- a/content/browser/geolocation/geolocation_service_impl.h
+++ b/content/browser/geolocation/geolocation_service_impl.h
@@ -2,8 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/geolocation/geolocation_provider_impl.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "third_party/WebKit/public/platform/modules/geolocation/geolocation.mojom.h"
@@ -56,7 +57,7 @@ class GeolocationServiceImpl : public blink::mojom::GeolocationService {
// Owns this object.
GeolocationServiceContext* context_;
- scoped_ptr<GeolocationProvider::Subscription> geolocation_subscription_;
+ std::unique_ptr<GeolocationProvider::Subscription> geolocation_subscription_;
// Callback that allows the instantiator of this class to be notified on
// position updates.

Powered by Google App Engine
This is Rietveld 408576698