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

Unified Diff: ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc

Issue 1586833002: Convert Pass()→std::move() for iOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert accidental //base change Created 4 years, 11 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: ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc
diff --git a/ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc b/ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc
index 7e4951adfe28ccc6154a9812f2d1bb332bdf10ff..a5d348f1da770d78ab6ecfd3aa819b9557d5c783 100644
--- a/ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc
+++ b/ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc
@@ -5,6 +5,7 @@
#include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.h"
#include <string>
+#include <utility>
#include "base/base64.h"
#include "base/memory/ref_counted.h"
@@ -190,12 +191,12 @@ void IOSChromeDataReductionProxySettings::InitDataReductionProxySettings(
scoped_ptr<data_reduction_proxy::DataReductionProxyService> service =
make_scoped_ptr(new data_reduction_proxy::DataReductionProxyService(
- this, profile_prefs, request_context_getter, store.Pass(),
+ this, profile_prefs, request_context_getter, std::move(store),
ui_task_runner, io_data->io_task_runner(), db_task_runner,
commit_delay));
data_reduction_proxy::DataReductionProxySettings::
InitDataReductionProxySettings(prefs::kDataSaverEnabled, profile_prefs,
- io_data, service.Pass());
+ io_data, std::move(service));
io_data->SetDataReductionProxyService(
data_reduction_proxy_service()->GetWeakPtr());

Powered by Google App Engine
This is Rietveld 408576698