| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 syncer::ReportUnrecoverableErrorFunction | 87 syncer::ReportUnrecoverableErrorFunction |
| 88 report_unrecoverable_error_function, | 88 report_unrecoverable_error_function, |
| 89 syncer::NetworkResources* network_resources) OVERRIDE; | 89 syncer::NetworkResources* network_resources) OVERRIDE; |
| 90 virtual void UpdateCredentials( | 90 virtual void UpdateCredentials( |
| 91 const syncer::SyncCredentials& credentials) OVERRIDE; | 91 const syncer::SyncCredentials& credentials) OVERRIDE; |
| 92 virtual void StartSyncingWithServer() OVERRIDE; | 92 virtual void StartSyncingWithServer() OVERRIDE; |
| 93 virtual void SetEncryptionPassphrase( | 93 virtual void SetEncryptionPassphrase( |
| 94 const std::string& passphrase, | 94 const std::string& passphrase, |
| 95 bool is_explicit) OVERRIDE; | 95 bool is_explicit) OVERRIDE; |
| 96 virtual bool SetDecryptionPassphrase(const std::string& passphrase) | 96 virtual bool SetDecryptionPassphrase(const std::string& passphrase) |
| 97 WARN_UNUSED_RESULT OVERRIDE; | 97 OVERRIDE WARN_UNUSED_RESULT; |
| 98 virtual void StopSyncingForShutdown() OVERRIDE; | 98 virtual void StopSyncingForShutdown() OVERRIDE; |
| 99 virtual scoped_ptr<base::Thread> Shutdown(ShutdownOption option) OVERRIDE; | 99 virtual scoped_ptr<base::Thread> Shutdown(ShutdownOption option) OVERRIDE; |
| 100 virtual void UnregisterInvalidationIds() OVERRIDE; | 100 virtual void UnregisterInvalidationIds() OVERRIDE; |
| 101 virtual void ConfigureDataTypes( | 101 virtual void ConfigureDataTypes( |
| 102 syncer::ConfigureReason reason, | 102 syncer::ConfigureReason reason, |
| 103 const DataTypeConfigStateMap& config_state_map, | 103 const DataTypeConfigStateMap& config_state_map, |
| 104 const base::Callback<void(syncer::ModelTypeSet, | 104 const base::Callback<void(syncer::ModelTypeSet, |
| 105 syncer::ModelTypeSet)>& ready_task, | 105 syncer::ModelTypeSet)>& ready_task, |
| 106 const base::Callback<void()>& retry_callback) OVERRIDE; | 106 const base::Callback<void()>& retry_callback) OVERRIDE; |
| 107 virtual void EnableEncryptEverything() OVERRIDE; | 107 virtual void EnableEncryptEverything() OVERRIDE; |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 | 313 |
| 314 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; | 314 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; |
| 315 | 315 |
| 316 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); | 316 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); |
| 317 }; | 317 }; |
| 318 | 318 |
| 319 } // namespace browser_sync | 319 } // namespace browser_sync |
| 320 | 320 |
| 321 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 321 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
| 322 | 322 |
| OLD | NEW |