OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |