OLD | NEW |
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 CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 virtual void EnableEncryptEverything() OVERRIDE; | 66 virtual void EnableEncryptEverything() OVERRIDE; |
67 | 67 |
68 virtual void ActivateDataType( | 68 virtual void ActivateDataType( |
69 syncer::ModelType type, syncer::ModelSafeGroup group, | 69 syncer::ModelType type, syncer::ModelSafeGroup group, |
70 ChangeProcessor* change_processor) OVERRIDE; | 70 ChangeProcessor* change_processor) OVERRIDE; |
71 virtual void DeactivateDataType(syncer::ModelType type) OVERRIDE; | 71 virtual void DeactivateDataType(syncer::ModelType type) OVERRIDE; |
72 | 72 |
73 virtual syncer::UserShare* GetUserShare() const OVERRIDE; | 73 virtual syncer::UserShare* GetUserShare() const OVERRIDE; |
74 | 74 |
| 75 virtual syncer::SyncCoreProxy GetSyncCoreProxy() OVERRIDE; |
| 76 |
75 virtual Status GetDetailedStatus() OVERRIDE; | 77 virtual Status GetDetailedStatus() OVERRIDE; |
76 | 78 |
77 virtual syncer::sessions::SyncSessionSnapshot | 79 virtual syncer::sessions::SyncSessionSnapshot |
78 GetLastSessionSnapshot() const OVERRIDE; | 80 GetLastSessionSnapshot() const OVERRIDE; |
79 | 81 |
80 virtual bool HasUnsyncedItems() const OVERRIDE; | 82 virtual bool HasUnsyncedItems() const OVERRIDE; |
81 | 83 |
82 virtual bool IsNigoriEnabled() const OVERRIDE; | 84 virtual bool IsNigoriEnabled() const OVERRIDE; |
83 | 85 |
84 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; | 86 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
100 | 102 |
101 void set_fail_initial_download(bool should_fail); | 103 void set_fail_initial_download(bool should_fail); |
102 | 104 |
103 private: | 105 private: |
104 bool fail_initial_download_; | 106 bool fail_initial_download_; |
105 }; | 107 }; |
106 | 108 |
107 } // namespace browser_sync | 109 } // namespace browser_sync |
108 | 110 |
109 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 111 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
OLD | NEW |