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

Side by Side Diff: components/sync/engine/fake_sync_engine.cc

Issue 2576203004: [Sync] Remove SyncEngine::UnregisterInvalidationIds (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « components/sync/engine/fake_sync_engine.h ('k') | components/sync/engine/sync_engine.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/sync/engine/fake_sync_engine.h" 5 #include "components/sync/engine/fake_sync_engine.h"
6 6
7 #include "components/sync/engine/activation_context.h" 7 #include "components/sync/engine/activation_context.h"
8 #include "components/sync/engine/sync_engine_host.h" 8 #include "components/sync/engine/sync_engine_host.h"
9 9
10 namespace syncer { 10 namespace syncer {
(...skipping 19 matching lines...) Expand all
30 bool is_explicit) {} 30 bool is_explicit) {}
31 31
32 bool FakeSyncEngine::SetDecryptionPassphrase(const std::string& passphrase) { 32 bool FakeSyncEngine::SetDecryptionPassphrase(const std::string& passphrase) {
33 return false; 33 return false;
34 } 34 }
35 35
36 void FakeSyncEngine::StopSyncingForShutdown() {} 36 void FakeSyncEngine::StopSyncingForShutdown() {}
37 37
38 void FakeSyncEngine::Shutdown(ShutdownReason reason) {} 38 void FakeSyncEngine::Shutdown(ShutdownReason reason) {}
39 39
40 void FakeSyncEngine::UnregisterInvalidationIds() {}
41
42 ModelTypeSet FakeSyncEngine::ConfigureDataTypes( 40 ModelTypeSet FakeSyncEngine::ConfigureDataTypes(
43 ConfigureReason reason, 41 ConfigureReason reason,
44 const DataTypeConfigStateMap& config_state_map, 42 const DataTypeConfigStateMap& config_state_map,
45 const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task, 43 const base::Callback<void(ModelTypeSet, ModelTypeSet)>& ready_task,
46 const base::Callback<void()>& retry_callback) { 44 const base::Callback<void()>& retry_callback) {
47 return ModelTypeSet(); 45 return ModelTypeSet();
48 } 46 }
49 47
50 void FakeSyncEngine::EnableEncryptEverything() {} 48 void FakeSyncEngine::EnableEncryptEverything() {}
51 49
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 111
114 void FakeSyncEngine::ClearServerData( 112 void FakeSyncEngine::ClearServerData(
115 const SyncManager::ClearServerDataCallback& callback) { 113 const SyncManager::ClearServerDataCallback& callback) {
116 callback.Run(); 114 callback.Run();
117 } 115 }
118 116
119 void FakeSyncEngine::OnCookieJarChanged(bool account_mismatch, bool empty_jar) { 117 void FakeSyncEngine::OnCookieJarChanged(bool account_mismatch, bool empty_jar) {
120 } 118 }
121 119
122 } // namespace syncer 120 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine/fake_sync_engine.h ('k') | components/sync/engine/sync_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698