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

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

Issue 2663783002: [Sync] Split encryption state and logic out of PSS and SBHI. (Closed)
Patch Set: Tweak comment. Created 3 years, 10 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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/sync_engine_host_stub.h" 5 #include "components/sync/engine/sync_engine_host_stub.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 SyncEngineHostStub::SyncEngineHostStub() = default; 9 SyncEngineHostStub::SyncEngineHostStub() = default;
10 SyncEngineHostStub::~SyncEngineHostStub() = default; 10 SyncEngineHostStub::~SyncEngineHostStub() = default;
(...skipping 17 matching lines...) Expand all
28 void SyncEngineHostStub::OnDirectoryTypeUpdateCounterUpdated( 28 void SyncEngineHostStub::OnDirectoryTypeUpdateCounterUpdated(
29 ModelType type, 29 ModelType type,
30 const UpdateCounters& counters) {} 30 const UpdateCounters& counters) {}
31 31
32 void SyncEngineHostStub::OnDatatypeStatusCounterUpdated( 32 void SyncEngineHostStub::OnDatatypeStatusCounterUpdated(
33 ModelType type, 33 ModelType type,
34 const StatusCounters& counters) {} 34 const StatusCounters& counters) {}
35 35
36 void SyncEngineHostStub::OnConnectionStatusChange(ConnectionStatus status) {} 36 void SyncEngineHostStub::OnConnectionStatusChange(ConnectionStatus status) {}
37 37
38 void SyncEngineHostStub::OnPassphraseRequired(
39 PassphraseRequiredReason reason,
40 const sync_pb::EncryptedData& pending_keys) {}
41
42 void SyncEngineHostStub::OnPassphraseAccepted() {}
43
44 void SyncEngineHostStub::OnEncryptedTypesChanged(ModelTypeSet encrypted_types,
45 bool encrypt_everything) {}
46
47 void SyncEngineHostStub::OnEncryptionComplete() {}
48
49 void SyncEngineHostStub::OnMigrationNeededForTypes(ModelTypeSet types) {} 38 void SyncEngineHostStub::OnMigrationNeededForTypes(ModelTypeSet types) {}
50 39
51 void SyncEngineHostStub::OnExperimentsChanged(const Experiments& experiments) {} 40 void SyncEngineHostStub::OnExperimentsChanged(const Experiments& experiments) {}
52 41
53 void SyncEngineHostStub::OnActionableError(const SyncProtocolError& error) {} 42 void SyncEngineHostStub::OnActionableError(const SyncProtocolError& error) {}
54 43
55 void SyncEngineHostStub::OnLocalSetPassphraseEncryption(
56 const SyncEncryptionHandler::NigoriState& nigori_state) {}
57
58 } // namespace syncer 44 } // 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