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_IMPL_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 virtual syncer::sessions::SyncSessionSnapshot | 120 virtual syncer::sessions::SyncSessionSnapshot |
121 GetLastSessionSnapshot() const OVERRIDE; | 121 GetLastSessionSnapshot() const OVERRIDE; |
122 virtual bool HasUnsyncedItems() const OVERRIDE; | 122 virtual bool HasUnsyncedItems() const OVERRIDE; |
123 virtual bool IsNigoriEnabled() const OVERRIDE; | 123 virtual bool IsNigoriEnabled() const OVERRIDE; |
124 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; | 124 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; |
125 virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; | 125 virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; |
126 virtual bool IsCryptographerReady( | 126 virtual bool IsCryptographerReady( |
127 const syncer::BaseTransaction* trans) const OVERRIDE; | 127 const syncer::BaseTransaction* trans) const OVERRIDE; |
128 virtual void GetModelSafeRoutingInfo( | 128 virtual void GetModelSafeRoutingInfo( |
129 syncer::ModelSafeRoutingInfo* out) const OVERRIDE; | 129 syncer::ModelSafeRoutingInfo* out) const OVERRIDE; |
| 130 virtual void FlushDirectory() const OVERRIDE; |
130 virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE; | 131 virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE; |
131 virtual void DisableProtocolEventForwarding() OVERRIDE; | 132 virtual void DisableProtocolEventForwarding() OVERRIDE; |
132 virtual void EnableDirectoryTypeDebugInfoForwarding() OVERRIDE; | 133 virtual void EnableDirectoryTypeDebugInfoForwarding() OVERRIDE; |
133 virtual void DisableDirectoryTypeDebugInfoForwarding() OVERRIDE; | 134 virtual void DisableDirectoryTypeDebugInfoForwarding() OVERRIDE; |
134 virtual void GetAllNodesForTypes( | 135 virtual void GetAllNodesForTypes( |
135 syncer::ModelTypeSet types, | 136 syncer::ModelTypeSet types, |
136 base::Callback<void(const std::vector<syncer::ModelType>&, | 137 base::Callback<void(const std::vector<syncer::ModelType>&, |
137 ScopedVector<base::ListValue>)> type) OVERRIDE; | 138 ScopedVector<base::ListValue>)> type) OVERRIDE; |
138 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; | 139 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; |
139 | 140 |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 | 366 |
366 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; | 367 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; |
367 | 368 |
368 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); | 369 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); |
369 }; | 370 }; |
370 | 371 |
371 } // namespace browser_sync | 372 } // namespace browser_sync |
372 | 373 |
373 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 374 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
374 | 375 |
OLD | NEW |