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

Unified Diff: components/sync/driver/glue/sync_backend_host_impl.h

Issue 2624943002: [Sync] Move snapshot cache from SBHI to PSS. (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 side-by-side diff with in-line comments
Download patch
Index: components/sync/driver/glue/sync_backend_host_impl.h
diff --git a/components/sync/driver/glue/sync_backend_host_impl.h b/components/sync/driver/glue/sync_backend_host_impl.h
index 0f33a9dd13bd3928199555edb0cf0c280cf81d83..4d062887fd467ef085633ca241d5b95e809ced7e 100644
--- a/components/sync/driver/glue/sync_backend_host_impl.h
+++ b/components/sync/driver/glue/sync_backend_host_impl.h
@@ -78,7 +78,6 @@ class SyncBackendHostImpl : public SyncEngine, public InvalidationHandler {
void EnableEncryptEverything() override;
UserShare* GetUserShare() const override;
Status GetDetailedStatus() override;
- SyncCycleSnapshot GetLastCycleSnapshot() const override;
bool HasUnsyncedItems() const override;
bool IsNigoriEnabled() const override;
PassphraseType GetPassphraseType() const override;
@@ -289,9 +288,6 @@ class SyncBackendHostImpl : public SyncEngine, public InvalidationHandler {
// first set (if available).
base::Time cached_explicit_passphrase_time_;
- // UI-thread cache of the last SyncCycleSnapshot received from syncapi.
- SyncCycleSnapshot last_snapshot_;
-
invalidation::InvalidationService* invalidator_;
bool invalidation_handler_registered_ = false;
« no previous file with comments | « components/browser_sync/profile_sync_service_unittest.cc ('k') | components/sync/driver/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698