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

Unified Diff: components/sync/engine/fake_sync_engine.cc

Issue 2663783002: [Sync] Split encryption state and logic out of PSS and SBHI. (Closed)
Patch Set: Tweak comment. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/engine/fake_sync_engine.h ('k') | components/sync/engine/sync_encryption_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/fake_sync_engine.cc
diff --git a/components/sync/engine/fake_sync_engine.cc b/components/sync/engine/fake_sync_engine.cc
index 8b35a10e50204c6c5c916652a68e742b8a24df1e..b19d28b08085a73d0dd4cd95b00ea9e729be2ac2 100644
--- a/components/sync/engine/fake_sync_engine.cc
+++ b/components/sync/engine/fake_sync_engine.cc
@@ -31,9 +31,7 @@ void FakeSyncEngine::StartSyncingWithServer() {}
void FakeSyncEngine::SetEncryptionPassphrase(const std::string& passphrase,
bool is_explicit) {}
-bool FakeSyncEngine::SetDecryptionPassphrase(const std::string& passphrase) {
- return false;
-}
+void FakeSyncEngine::SetDecryptionPassphrase(const std::string& passphrase) {}
void FakeSyncEngine::StopSyncingForShutdown() {}
@@ -72,18 +70,6 @@ bool FakeSyncEngine::HasUnsyncedItems() const {
return false;
}
-bool FakeSyncEngine::IsNigoriEnabled() const {
- return true;
-}
-
-PassphraseType FakeSyncEngine::GetPassphraseType() const {
- return PassphraseType::IMPLICIT_PASSPHRASE;
-}
-
-base::Time FakeSyncEngine::GetExplicitPassphraseTime() const {
- return base::Time();
-}
-
bool FakeSyncEngine::IsCryptographerReady(const BaseTransaction* trans) const {
return false;
}
« no previous file with comments | « components/sync/engine/fake_sync_engine.h ('k') | components/sync/engine/sync_encryption_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698