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

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

Issue 2563423005: [Sync] Move ConfigureDataTypes logic into DataTypeManagerImpl. (Closed)
Patch Set: Address comments. Created 3 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
« no previous file with comments | « components/sync/engine/sync_engine_host_stub.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/sync/engine/sync_engine_host_stub.h"
6
7 namespace syncer {
8
9 SyncEngineHostStub::SyncEngineHostStub() = default;
10 SyncEngineHostStub::~SyncEngineHostStub() = default;
11
12 void SyncEngineHostStub::OnEngineInitialized(
13 ModelTypeSet initial_types,
14 const WeakHandle<JsBackend>& js_backend,
15 const WeakHandle<DataTypeDebugInfoListener>& debug_info_listener,
16 const std::string& cache_guid,
17 bool success) {}
18
19 void SyncEngineHostStub::OnSyncCycleCompleted() {}
20
21 void SyncEngineHostStub::OnProtocolEvent(const ProtocolEvent& event) {}
22
23 void SyncEngineHostStub::OnDirectoryTypeCommitCounterUpdated(
24 ModelType type,
25 const CommitCounters& counters) {}
26
27 void SyncEngineHostStub::OnDirectoryTypeUpdateCounterUpdated(
28 ModelType type,
29 const UpdateCounters& counters) {}
30
31 void SyncEngineHostStub::OnDatatypeStatusCounterUpdated(
32 ModelType type,
33 const StatusCounters& counters) {}
34
35 void SyncEngineHostStub::OnConnectionStatusChange(ConnectionStatus status) {}
36
37 void SyncEngineHostStub::OnPassphraseRequired(
38 PassphraseRequiredReason reason,
39 const sync_pb::EncryptedData& pending_keys) {}
40
41 void SyncEngineHostStub::OnPassphraseAccepted() {}
42
43 void SyncEngineHostStub::OnEncryptedTypesChanged(ModelTypeSet encrypted_types,
44 bool encrypt_everything) {}
45
46 void SyncEngineHostStub::OnEncryptionComplete() {}
47
48 void SyncEngineHostStub::OnMigrationNeededForTypes(ModelTypeSet types) {}
49
50 void SyncEngineHostStub::OnExperimentsChanged(const Experiments& experiments) {}
51
52 void SyncEngineHostStub::OnActionableError(const SyncProtocolError& error) {}
53
54 void SyncEngineHostStub::OnLocalSetPassphraseEncryption(
55 const SyncEncryptionHandler::NigoriState& nigori_state) {}
56
57 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine/sync_engine_host_stub.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698