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

Side by Side Diff: chrome/browser/interstitials/security_interstitial_page.cc

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, 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/interstitials/security_interstitial_page.h" 5 #include "chrome/browser/interstitials/security_interstitial_page.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void SecurityInterstitialPage::OpenExtendedReportingPrivacyPolicy() { 106 void SecurityInterstitialPage::OpenExtendedReportingPrivacyPolicy() {
107 controller_->OpenExtendedReportingPrivacyPolicy(); 107 controller_->OpenExtendedReportingPrivacyPolicy();
108 } 108 }
109 109
110 security_interstitials::MetricsHelper* 110 security_interstitials::MetricsHelper*
111 SecurityInterstitialPage::metrics_helper() { 111 SecurityInterstitialPage::metrics_helper() {
112 return controller_->metrics_helper(); 112 return controller_->metrics_helper();
113 } 113 }
114 114
115 void SecurityInterstitialPage::set_metrics_helper( 115 void SecurityInterstitialPage::set_metrics_helper(
116 scoped_ptr<security_interstitials::MetricsHelper> metrics_helper) { 116 std::unique_ptr<security_interstitials::MetricsHelper> metrics_helper) {
117 controller_->set_metrics_helper(std::move(metrics_helper)); 117 controller_->set_metrics_helper(std::move(metrics_helper));
118 } 118 }
OLDNEW
« no previous file with comments | « chrome/browser/interstitials/security_interstitial_page.h ('k') | components/autofill/core/browser/test_autofill_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698