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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 WARN_UNUSED_RESULT; | 105 WARN_UNUSED_RESULT; |
106 void StopSyncingForShutdown() override; | 106 void StopSyncingForShutdown() override; |
107 scoped_ptr<base::Thread> Shutdown(syncer::ShutdownReason reason) override; | 107 scoped_ptr<base::Thread> Shutdown(syncer::ShutdownReason reason) override; |
108 void UnregisterInvalidationIds() override; | 108 void UnregisterInvalidationIds() override; |
109 syncer::ModelTypeSet ConfigureDataTypes( | 109 syncer::ModelTypeSet ConfigureDataTypes( |
110 syncer::ConfigureReason reason, | 110 syncer::ConfigureReason reason, |
111 const DataTypeConfigStateMap& config_state_map, | 111 const DataTypeConfigStateMap& config_state_map, |
112 const base::Callback<void(syncer::ModelTypeSet, syncer::ModelTypeSet)>& | 112 const base::Callback<void(syncer::ModelTypeSet, syncer::ModelTypeSet)>& |
113 ready_task, | 113 ready_task, |
114 const base::Callback<void()>& retry_callback) override; | 114 const base::Callback<void()>& retry_callback) override; |
115 void ActivateDataType( | 115 void ActivateDirectoryDataType( |
116 syncer::ModelType type, | 116 syncer::ModelType type, |
117 syncer::ModelSafeGroup group, | 117 syncer::ModelSafeGroup group, |
118 sync_driver::ChangeProcessor* change_processor) override; | 118 sync_driver::ChangeProcessor* change_processor) override; |
119 void DeactivateDataType(syncer::ModelType type) override; | 119 void DeactivateDirectoryDataType(syncer::ModelType type) override; |
| 120 void ActivateNonBlockingDataType( |
| 121 syncer::ModelType type, |
| 122 scoped_ptr<syncer_v2::ActivationContext>) override; |
| 123 void DeactivateNonBlockingDataType(syncer::ModelType type) override; |
120 void EnableEncryptEverything() override; | 124 void EnableEncryptEverything() override; |
121 syncer::UserShare* GetUserShare() const override; | 125 syncer::UserShare* GetUserShare() const override; |
122 scoped_ptr<syncer_v2::SyncContextProxy> GetSyncContextProxy() override; | 126 scoped_ptr<syncer_v2::SyncContextProxy> GetSyncContextProxy() override; |
123 Status GetDetailedStatus() override; | 127 Status GetDetailedStatus() override; |
124 syncer::sessions::SyncSessionSnapshot GetLastSessionSnapshot() const override; | 128 syncer::sessions::SyncSessionSnapshot GetLastSessionSnapshot() const override; |
125 bool HasUnsyncedItems() const override; | 129 bool HasUnsyncedItems() const override; |
126 bool IsNigoriEnabled() const override; | 130 bool IsNigoriEnabled() const override; |
127 syncer::PassphraseType GetPassphraseType() const override; | 131 syncer::PassphraseType GetPassphraseType() const override; |
128 base::Time GetExplicitPassphraseTime() const override; | 132 base::Time GetExplicitPassphraseTime() const override; |
129 bool IsCryptographerReady( | 133 bool IsCryptographerReady( |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 bool invalidation_handler_registered_; | 383 bool invalidation_handler_registered_; |
380 | 384 |
381 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; | 385 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; |
382 | 386 |
383 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); | 387 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); |
384 }; | 388 }; |
385 | 389 |
386 } // namespace browser_sync | 390 } // namespace browser_sync |
387 | 391 |
388 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 392 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
OLD | NEW |