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

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

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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>
8
7 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
8
9 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
10 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
11 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
12 #include "base/values.h" 13 #include "base/values.h"
13 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/interstitials/chrome_controller_client.h" 15 #include "chrome/browser/interstitials/chrome_controller_client.h"
15 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
17 #include "chrome/grit/browser_resources.h" 18 #include "chrome/grit/browser_resources.h"
18 #include "chrome/grit/generated_resources.h" 19 #include "chrome/grit/generated_resources.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 controller_->OpenExtendedReportingPrivacyPolicy(); 107 controller_->OpenExtendedReportingPrivacyPolicy();
107 } 108 }
108 109
109 security_interstitials::MetricsHelper* 110 security_interstitials::MetricsHelper*
110 SecurityInterstitialPage::metrics_helper() { 111 SecurityInterstitialPage::metrics_helper() {
111 return controller_->metrics_helper(); 112 return controller_->metrics_helper();
112 } 113 }
113 114
114 void SecurityInterstitialPage::set_metrics_helper( 115 void SecurityInterstitialPage::set_metrics_helper(
115 scoped_ptr<security_interstitials::MetricsHelper> metrics_helper) { 116 scoped_ptr<security_interstitials::MetricsHelper> metrics_helper) {
116 controller_->set_metrics_helper(metrics_helper.Pass()); 117 controller_->set_metrics_helper(std::move(metrics_helper));
117 } 118 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698