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

Unified Diff: chrome/browser/interstitials/security_interstitial_page.h

Issue 1851933002: Convert //url to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU fixup 7 Created 4 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/interstitials/security_interstitial_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/interstitials/security_interstitial_page.h
diff --git a/chrome/browser/interstitials/security_interstitial_page.h b/chrome/browser/interstitials/security_interstitial_page.h
index 9f6f290be58a286e54f36a7316c50d3c64184e29..94dd73886b17e94896b9955422493c43c11ae536 100644
--- a/chrome/browser/interstitials/security_interstitial_page.h
+++ b/chrome/browser/interstitials/security_interstitial_page.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_PAGE_H_
#define CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_PAGE_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/strings/string16.h"
#include "content/public/browser/interstitial_page_delegate.h"
@@ -70,7 +72,7 @@ class SecurityInterstitialPage : public content::InterstitialPageDelegate {
void OpenExtendedReportingPrivacyPolicy();
security_interstitials::MetricsHelper* metrics_helper();
void set_metrics_helper(
- scoped_ptr<security_interstitials::MetricsHelper> metrics_helper);
+ std::unique_ptr<security_interstitials::MetricsHelper> metrics_helper);
private:
// The WebContents with which this interstitial page is
@@ -84,7 +86,7 @@ class SecurityInterstitialPage : public content::InterstitialPageDelegate {
// Whether the interstitial should create a view.
bool create_view_;
// For subclasses that don't have their own ChromeControllerClients yet.
- scoped_ptr<ChromeControllerClient> controller_;
+ std::unique_ptr<ChromeControllerClient> controller_;
DISALLOW_COPY_AND_ASSIGN(SecurityInterstitialPage);
};
« no previous file with comments | « no previous file | chrome/browser/interstitials/security_interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698