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

Unified Diff: content/browser/geofencing/geofencing_service.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/geofencing/geofencing_service.h
diff --git a/content/browser/geofencing/geofencing_service.h b/content/browser/geofencing/geofencing_service.h
index dddbcfb1c706276741812eec523615fb924da980..7685243f9d2901e9c71c7cd66b6f61f356e5cfc3 100644
--- a/content/browser/geofencing/geofencing_service.h
+++ b/content/browser/geofencing/geofencing_service.h
@@ -8,10 +8,10 @@
#include <stdint.h>
#include <map>
+#include <memory>
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "content/common/geofencing_types.h"
@@ -78,7 +78,7 @@ class CONTENT_EXPORT GeofencingServiceImpl
GeofencingServiceImpl();
~GeofencingServiceImpl() override;
- void SetProviderForTesting(scoped_ptr<GeofencingProvider> provider);
+ void SetProviderForTesting(std::unique_ptr<GeofencingProvider> provider);
int RegistrationCountForTesting();
private:
@@ -100,7 +100,7 @@ class CONTENT_EXPORT GeofencingServiceImpl
int64_t next_registration_id_;
RegistrationsMap registrations_;
- scoped_ptr<GeofencingProvider> provider_;
+ std::unique_ptr<GeofencingProvider> provider_;
DISALLOW_COPY_AND_ASSIGN(GeofencingServiceImpl);
};
« no previous file with comments | « content/browser/geofencing/geofencing_manager_unittest.cc ('k') | content/browser/geofencing/geofencing_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698