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

Side by Side Diff: ios/chrome/browser/sync/ios_chrome_sync_client.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/chrome/browser/sync/ios_chrome_sync_client.h" 5 #include "ios/chrome/browser/sync/ios_chrome_sync_client.h"
6 6
7 #include <utility>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/command_line.h" 10 #include "base/command_line.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service .h" 12 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service .h"
11 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser vice.h" 13 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser vice.h"
12 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync able_service.h" 14 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync able_service.h"
13 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv ice.h" 15 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv ice.h"
14 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 16 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
15 #include "components/browser_sync/browser/profile_sync_components_factory_impl.h " 17 #include "components/browser_sync/browser/profile_sync_components_factory_impl.h "
16 #include "components/browser_sync/browser/profile_sync_service.h" 18 #include "components/browser_sync/browser/profile_sync_service.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 return component_factory_.get(); 372 return component_factory_.get();
371 } 373 }
372 374
373 void IOSChromeSyncClient::ClearBrowsingData(base::Time start, base::Time end) { 375 void IOSChromeSyncClient::ClearBrowsingData(base::Time start, base::Time end) {
374 // This method should never be called on iOS. 376 // This method should never be called on iOS.
375 NOTREACHED(); 377 NOTREACHED();
376 } 378 }
377 379
378 void IOSChromeSyncClient::SetSyncApiComponentFactoryForTesting( 380 void IOSChromeSyncClient::SetSyncApiComponentFactoryForTesting(
379 scoped_ptr<sync_driver::SyncApiComponentFactory> component_factory) { 381 scoped_ptr<sync_driver::SyncApiComponentFactory> component_factory) {
380 component_factory_ = component_factory.Pass(); 382 component_factory_ = std::move(component_factory);
381 } 383 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/signin/signin_manager_factory.cc ('k') | ios/chrome/browser/translate/chrome_ios_translate_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698