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

Unified Diff: content/browser/devtools/devtools_protocol_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/devtools_protocol_handler.h
diff --git a/content/browser/devtools/devtools_protocol_handler.h b/content/browser/devtools/devtools_protocol_handler.h
index 32f49287d84631a5e59af577203edb65b455a768..d9fc156b51fb6184e0dd55ac07fa78cf500e05ec 100644
--- a/content/browser/devtools/devtools_protocol_handler.h
+++ b/content/browser/devtools/devtools_protocol_handler.h
@@ -28,12 +28,14 @@ class DevToolsProtocolHandler {
DevToolsProtocolDispatcher* dispatcher() { return &dispatcher_; }
private:
- scoped_ptr<base::DictionaryValue> ParseCommand(int session_id,
- const std::string& message);
+ std::unique_ptr<base::DictionaryValue> ParseCommand(
+ int session_id,
+ const std::string& message);
bool PassCommandToDelegate(int session_id, base::DictionaryValue* command);
- void HandleCommand(int session_id, scoped_ptr<base::DictionaryValue> command);
+ void HandleCommand(int session_id,
+ std::unique_ptr<base::DictionaryValue> command);
bool HandleOptionalCommand(int session_id,
- scoped_ptr<base::DictionaryValue> command,
+ std::unique_ptr<base::DictionaryValue> command,
int* call_id);
DevToolsAgentHost* agent_host_;
« no previous file with comments | « content/browser/devtools/devtools_netlog_observer.cc ('k') | content/browser/devtools/devtools_protocol_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698