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

Unified Diff: content/browser/devtools/protocol/security_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/security_handler.h
diff --git a/content/browser/devtools/protocol/security_handler.h b/content/browser/devtools/protocol/security_handler.h
index 3f9ce2b139da8895409b7c7b3fe076d38d7090b0..5f5fe68f5aa236062cf2ccd765ec089de1e5dfaf 100644
--- a/content/browser/devtools/protocol/security_handler.h
+++ b/content/browser/devtools/protocol/security_handler.h
@@ -22,7 +22,7 @@ class SecurityHandler : public WebContentsObserver {
SecurityHandler();
~SecurityHandler() override;
- void SetClient(scoped_ptr<Client> client);
+ void SetClient(std::unique_ptr<Client> client);
void SetRenderFrameHost(RenderFrameHost* host);
Response Enable();
@@ -36,7 +36,7 @@ class SecurityHandler : public WebContentsObserver {
SecurityStyle security_style,
const SecurityStyleExplanations& security_style_explanations) override;
- scoped_ptr<Client> client_;
+ std::unique_ptr<Client> client_;
bool enabled_;
RenderFrameHost* host_;
« no previous file with comments | « content/browser/devtools/protocol/page_handler.cc ('k') | content/browser/devtools/protocol/security_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698