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

Unified Diff: google_apis/gcm/engine/fake_connection_factory.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/fake_connection_factory.h
diff --git a/google_apis/gcm/engine/fake_connection_factory.h b/google_apis/gcm/engine/fake_connection_factory.h
index 4e4b86d16d997de31d32bad313224e30b693aac4..83caf242bbdf71ef57d180aab43dd052d4f9e59b 100644
--- a/google_apis/gcm/engine/fake_connection_factory.h
+++ b/google_apis/gcm/engine/fake_connection_factory.h
@@ -5,8 +5,9 @@
#ifndef GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_FACTORY_H_
#define GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_FACTORY_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "google_apis/gcm/engine/connection_factory.h"
namespace gcm {
@@ -43,7 +44,7 @@ class FakeConnectionFactory : public ConnectionFactory {
}
private:
- scoped_ptr<FakeConnectionHandler> connection_handler_;
+ std::unique_ptr<FakeConnectionHandler> connection_handler_;
BuildLoginRequestCallback request_builder_;

Powered by Google App Engine
This is Rietveld 408576698