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

Side by Side Diff: components/sync/engine/fake_sync_engine.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 unified diff | Download patch
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 #ifndef COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_
6 #define COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ 6 #define COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void DeactivateDirectoryDataType(ModelType type) override; 53 void DeactivateDirectoryDataType(ModelType type) override;
54 54
55 void ActivateNonBlockingDataType(ModelType type, 55 void ActivateNonBlockingDataType(ModelType type,
56 std::unique_ptr<ActivationContext>) override; 56 std::unique_ptr<ActivationContext>) override;
57 void DeactivateNonBlockingDataType(ModelType type) override; 57 void DeactivateNonBlockingDataType(ModelType type) override;
58 58
59 UserShare* GetUserShare() const override; 59 UserShare* GetUserShare() const override;
60 60
61 Status GetDetailedStatus() override; 61 Status GetDetailedStatus() override;
62 62
63 SyncCycleSnapshot GetLastCycleSnapshot() const override;
64
65 bool HasUnsyncedItems() const override; 63 bool HasUnsyncedItems() const override;
66 64
67 bool IsNigoriEnabled() const override; 65 bool IsNigoriEnabled() const override;
68 66
69 PassphraseType GetPassphraseType() const override; 67 PassphraseType GetPassphraseType() const override;
70 68
71 base::Time GetExplicitPassphraseTime() const override; 69 base::Time GetExplicitPassphraseTime() const override;
72 70
73 bool IsCryptographerReady(const BaseTransaction* trans) const override; 71 bool IsCryptographerReady(const BaseTransaction* trans) const override;
74 72
(...skipping 16 matching lines...) Expand all
91 89
92 void set_fail_initial_download(bool should_fail); 90 void set_fail_initial_download(bool should_fail);
93 91
94 private: 92 private:
95 bool fail_initial_download_; 93 bool fail_initial_download_;
96 }; 94 };
97 95
98 } // namespace syncer 96 } // namespace syncer
99 97
100 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_ 98 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_ENGINE_H_
OLDNEW
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl.cc ('k') | components/sync/engine/fake_sync_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698