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

Unified Diff: content/browser/devtools/protocol/system_info_handler.h

Issue 1874893002: Convert //content/browser 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: content/browser/devtools/protocol/system_info_handler.h
diff --git a/content/browser/devtools/protocol/system_info_handler.h b/content/browser/devtools/protocol/system_info_handler.h
index 40b14e8e3c48e9805f2e7e0c6a5bf8b626afbebb..281d08bbc9582bf18e85addefca8075d00955f50 100644
--- a/content/browser/devtools/protocol/system_info_handler.h
+++ b/content/browser/devtools/protocol/system_info_handler.h
@@ -23,7 +23,7 @@ class SystemInfoHandler {
SystemInfoHandler();
~SystemInfoHandler();
- void SetClient(scoped_ptr<Client> client);
+ void SetClient(std::unique_ptr<Client> client);
Response GetInfo(DevToolsCommandId command_id);
@@ -47,7 +47,7 @@ class SystemInfoHandler {
mutable base::Lock lock_;
std::set<int> active_observers_;
- scoped_ptr<Client> client_;
+ std::unique_ptr<Client> client_;
base::WeakPtrFactory<SystemInfoHandler> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(SystemInfoHandler);
« no previous file with comments | « content/browser/devtools/protocol/service_worker_handler.cc ('k') | content/browser/devtools/protocol/system_info_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698