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