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

Unified Diff: chrome/tools/service_discovery_sniffer/service_discovery_sniffer.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/tools/service_discovery_sniffer/service_discovery_sniffer.h
diff --git a/chrome/tools/service_discovery_sniffer/service_discovery_sniffer.h b/chrome/tools/service_discovery_sniffer/service_discovery_sniffer.h
index bbb575d3848685de6cec475e1ed13c8980fde383..3a7852c14f89ab1c7bbf4c06ff661f9cfecdd79b 100644
--- a/chrome/tools/service_discovery_sniffer/service_discovery_sniffer.h
+++ b/chrome/tools/service_discovery_sniffer/service_discovery_sniffer.h
@@ -31,7 +31,7 @@ class ServicePrinter {
const ServiceDescription& service);
bool changed_;
- scoped_ptr<ServiceResolver> service_resolver_;
+ std::unique_ptr<ServiceResolver> service_resolver_;
Lei Zhang 2016/04/19 01:35:42 IWYU
dcheng 2016/04/19 03:51:33 Done.
DISALLOW_COPY_AND_ASSIGN(ServicePrinter);
};
@@ -52,7 +52,7 @@ class ServiceTypePrinter {
typedef std::map<std::string, linked_ptr<ServicePrinter> > ServiceMap;
ServiceMap services_;
- scoped_ptr<ServiceWatcher> watcher_;
+ std::unique_ptr<ServiceWatcher> watcher_;
ServiceDiscoveryClient* client_;
DISALLOW_COPY_AND_ASSIGN(ServiceTypePrinter);

Powered by Google App Engine
This is Rietveld 408576698