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

Unified Diff: google_apis/gcm/engine/registration_request.cc

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/registration_request.cc
diff --git a/google_apis/gcm/engine/registration_request.cc b/google_apis/gcm/engine/registration_request.cc
index 4c80020e62ca2eb2b75e865d9b1f15bd7ec8f75e..a7aa8c499284b5f9524fdb67d694462dd5036615 100644
--- a/google_apis/gcm/engine/registration_request.cc
+++ b/google_apis/gcm/engine/registration_request.cc
@@ -90,7 +90,7 @@ RegistrationRequest::CustomRequestHandler::~CustomRequestHandler() {}
RegistrationRequest::RegistrationRequest(
const GURL& registration_url,
const RequestInfo& request_info,
- scoped_ptr<CustomRequestHandler> custom_request_handler,
+ std::unique_ptr<CustomRequestHandler> custom_request_handler,
const net::BackoffEntry::Policy& backoff_policy,
const RegistrationCallback& callback,
int max_retry_count,

Powered by Google App Engine
This is Rietveld 408576698