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

Unified Diff: chrome/service/cloud_print/cloud_print_proxy.h

Issue 1899083002: Convert //chrome 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: chrome/service/cloud_print/cloud_print_proxy.h
diff --git a/chrome/service/cloud_print/cloud_print_proxy.h b/chrome/service/cloud_print/cloud_print_proxy.h
index bd575bac5ab771037e05a12258c439b9a68510e3..257e21dc151603e02191d247559bcf2c411a4e91 100644
--- a/chrome/service/cloud_print/cloud_print_proxy.h
+++ b/chrome/service/cloud_print/cloud_print_proxy.h
@@ -6,11 +6,11 @@
#define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_H_
#include <list>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "chrome/service/cloud_print/cloud_print_proxy_backend.h"
#include "chrome/service/cloud_print/cloud_print_wipeout.h"
@@ -83,7 +83,7 @@ class CloudPrintProxy : public CloudPrintProxyFrontend,
// Our asynchronous backend to communicate with sync components living on
// other threads.
- scoped_ptr<CloudPrintProxyBackend> backend_;
+ std::unique_ptr<CloudPrintProxyBackend> backend_;
// This class does not own this. It is guaranteed to remain valid for the
// lifetime of this class.
ServiceProcessPrefs* service_prefs_;
@@ -97,7 +97,7 @@ class CloudPrintProxy : public CloudPrintProxyFrontend,
// successful authentication with the Cloud Print service.
bool enabled_;
// This is a cleanup class for unregistering printers on proxy disable.
- scoped_ptr<CloudPrintWipeout> wipeout_;
+ std::unique_ptr<CloudPrintWipeout> wipeout_;
DISALLOW_COPY_AND_ASSIGN(CloudPrintProxy);
};

Powered by Google App Engine
This is Rietveld 408576698