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

Unified Diff: google_apis/gcm/engine/gcm_store_impl.h

Issue 1873663002: Convert //google_apis 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: google_apis/gcm/engine/gcm_store_impl.h
diff --git a/google_apis/gcm/engine/gcm_store_impl.h b/google_apis/gcm/engine/gcm_store_impl.h
index 5fe06a595f27f382dc30eaaf668f1595ac6abfbd..764772c9be1a105a0b09467c9ce0907b154f111c 100644
--- a/google_apis/gcm/engine/gcm_store_impl.h
+++ b/google_apis/gcm/engine/gcm_store_impl.h
@@ -29,7 +29,7 @@ class GCM_EXPORT GCMStoreImpl : public GCMStore {
public:
GCMStoreImpl(const base::FilePath& path,
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner,
- scoped_ptr<Encryptor> encryptor);
+ std::unique_ptr<Encryptor> encryptor);
~GCMStoreImpl() override;
// Load the directory and pass the initial state back to caller.
@@ -121,7 +121,7 @@ class GCM_EXPORT GCMStoreImpl : public GCMStore {
// Continuation to update the per-app message counts after a load.
void LoadContinuation(const LoadCallback& callback,
- scoped_ptr<LoadResult> result);
+ std::unique_ptr<LoadResult> result);
// Continuation to update the per-app message counts when adding messages.
// In particular, if a message fails to add, the message count is decremented.

Powered by Google App Engine
This is Rietveld 408576698