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

Side by Side Diff: sync/test/engine/fake_sync_scheduler.cc

Issue 1866243002: Convert //sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "sync/test/engine/fake_sync_scheduler.h" 5 #include "sync/test/engine/fake_sync_scheduler.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 FakeSyncScheduler::FakeSyncScheduler() {} 9 FakeSyncScheduler::FakeSyncScheduler() {}
10 10
(...skipping 10 matching lines...) Expand all
21 const tracked_objects::Location& nudge_location) { 21 const tracked_objects::Location& nudge_location) {
22 } 22 }
23 23
24 void FakeSyncScheduler::ScheduleLocalRefreshRequest( 24 void FakeSyncScheduler::ScheduleLocalRefreshRequest(
25 ModelTypeSet types, 25 ModelTypeSet types,
26 const tracked_objects::Location& nudge_location) { 26 const tracked_objects::Location& nudge_location) {
27 } 27 }
28 28
29 void FakeSyncScheduler::ScheduleInvalidationNudge( 29 void FakeSyncScheduler::ScheduleInvalidationNudge(
30 syncer::ModelType type, 30 syncer::ModelType type,
31 scoped_ptr<InvalidationInterface> interface, 31 std::unique_ptr<InvalidationInterface> interface,
32 const tracked_objects::Location& nudge_location) { 32 const tracked_objects::Location& nudge_location) {}
33 }
34 33
35 void FakeSyncScheduler::ScheduleConfiguration( 34 void FakeSyncScheduler::ScheduleConfiguration(
36 const ConfigurationParams& params) { 35 const ConfigurationParams& params) {
37 params.ready_task.Run(); 36 params.ready_task.Run();
38 } 37 }
39 38
40 void FakeSyncScheduler::ScheduleClearServerData(const ClearParams& params) { 39 void FakeSyncScheduler::ScheduleClearServerData(const ClearParams& params) {
41 params.report_success_task.Run(); 40 params.report_success_task.Run();
42 } 41 }
43 42
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 } 84 }
86 85
87 void FakeSyncScheduler::OnReceivedGuRetryDelay( 86 void FakeSyncScheduler::OnReceivedGuRetryDelay(
88 const base::TimeDelta& delay) { 87 const base::TimeDelta& delay) {
89 } 88 }
90 89
91 void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) { 90 void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) {
92 } 91 }
93 92
94 } // namespace syncer 93 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698