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_CORE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 | 9 |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual void OnSyncCycleCompleted( | 92 virtual void OnSyncCycleCompleted( |
93 const syncer::sessions::SyncSessionSnapshot& snapshot) OVERRIDE; | 93 const syncer::sessions::SyncSessionSnapshot& snapshot) OVERRIDE; |
94 virtual void OnInitializationComplete( | 94 virtual void OnInitializationComplete( |
95 const syncer::WeakHandle<syncer::JsBackend>& js_backend, | 95 const syncer::WeakHandle<syncer::JsBackend>& js_backend, |
96 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& | 96 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& |
97 debug_info_listener, | 97 debug_info_listener, |
98 bool success, | 98 bool success, |
99 syncer::ModelTypeSet restored_types) OVERRIDE; | 99 syncer::ModelTypeSet restored_types) OVERRIDE; |
100 virtual void OnConnectionStatusChange( | 100 virtual void OnConnectionStatusChange( |
101 syncer::ConnectionStatus status) OVERRIDE; | 101 syncer::ConnectionStatus status) OVERRIDE; |
102 virtual void OnStopSyncingPermanently() OVERRIDE; | |
103 virtual void OnActionableError( | 102 virtual void OnActionableError( |
104 const syncer::SyncProtocolError& sync_error) OVERRIDE; | 103 const syncer::SyncProtocolError& sync_error) OVERRIDE; |
105 | 104 |
106 // SyncEncryptionHandler::Observer implementation. | 105 // SyncEncryptionHandler::Observer implementation. |
107 virtual void OnPassphraseRequired( | 106 virtual void OnPassphraseRequired( |
108 syncer::PassphraseRequiredReason reason, | 107 syncer::PassphraseRequiredReason reason, |
109 const sync_pb::EncryptedData& pending_keys) OVERRIDE; | 108 const sync_pb::EncryptedData& pending_keys) OVERRIDE; |
110 virtual void OnPassphraseAccepted() OVERRIDE; | 109 virtual void OnPassphraseAccepted() OVERRIDE; |
111 virtual void OnBootstrapTokenUpdated( | 110 virtual void OnBootstrapTokenUpdated( |
112 const std::string& bootstrap_token, | 111 const std::string& bootstrap_token, |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 const bool has_sync_setup_completed_; | 285 const bool has_sync_setup_completed_; |
287 | 286 |
288 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; | 287 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; |
289 | 288 |
290 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); | 289 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); |
291 }; | 290 }; |
292 | 291 |
293 } // namespace browser_sync | 292 } // namespace browser_sync |
294 | 293 |
295 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ | 294 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
OLD | NEW |