| 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 scoped_ptr<syncer::SyncCoreProxy> GetSyncCoreProxy() OVERRIDE; | 75 virtual scoped_ptr<syncer::SyncContextProxy> GetSyncContextProxy() OVERRIDE; |
| 76 | 76 |
| 77 virtual Status GetDetailedStatus() OVERRIDE; | 77 virtual Status GetDetailedStatus() OVERRIDE; |
| 78 | 78 |
| 79 virtual syncer::sessions::SyncSessionSnapshot | 79 virtual syncer::sessions::SyncSessionSnapshot |
| 80 GetLastSessionSnapshot() const OVERRIDE; | 80 GetLastSessionSnapshot() const OVERRIDE; |
| 81 | 81 |
| 82 virtual bool HasUnsyncedItems() const OVERRIDE; | 82 virtual bool HasUnsyncedItems() const OVERRIDE; |
| 83 | 83 |
| 84 virtual bool IsNigoriEnabled() const OVERRIDE; | 84 virtual bool IsNigoriEnabled() const OVERRIDE; |
| 85 | 85 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 110 | 110 |
| 111 void set_fail_initial_download(bool should_fail); | 111 void set_fail_initial_download(bool should_fail); |
| 112 | 112 |
| 113 private: | 113 private: |
| 114 bool fail_initial_download_; | 114 bool fail_initial_download_; |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 } // namespace browser_sync | 117 } // namespace browser_sync |
| 118 | 118 |
| 119 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 119 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
| OLD | NEW |