| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 namespace base { | 34 namespace base { |
| 35 class MessageLoop; | 35 class MessageLoop; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace invalidation { | 38 namespace invalidation { |
| 39 class InvalidationService; | 39 class InvalidationService; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace syncer { | 42 namespace syncer { |
| 43 class NetworkResources; | |
| 44 class SyncManagerFactory; | 43 class SyncManagerFactory; |
| 45 class UnrecoverableErrorHandler; | 44 class UnrecoverableErrorHandler; |
| 46 } | 45 } |
| 47 | 46 |
| 48 namespace sync_driver { | 47 namespace sync_driver { |
| 49 class SyncClient; | 48 class SyncClient; |
| 50 class SyncPrefs; | 49 class SyncPrefs; |
| 51 } | 50 } |
| 52 | 51 |
| 53 namespace browser_sync { | 52 namespace browser_sync { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 const scoped_refptr<base::SingleThreadTaskRunner>& file_thread, | 87 const scoped_refptr<base::SingleThreadTaskRunner>& file_thread, |
| 89 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, | 88 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, |
| 90 const GURL& service_url, | 89 const GURL& service_url, |
| 91 const std::string& sync_user_agent, | 90 const std::string& sync_user_agent, |
| 92 const syncer::SyncCredentials& credentials, | 91 const syncer::SyncCredentials& credentials, |
| 93 bool delete_sync_data_folder, | 92 bool delete_sync_data_folder, |
| 94 scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, | 93 scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, |
| 95 const syncer::WeakHandle<syncer::UnrecoverableErrorHandler>& | 94 const syncer::WeakHandle<syncer::UnrecoverableErrorHandler>& |
| 96 unrecoverable_error_handler, | 95 unrecoverable_error_handler, |
| 97 const base::Closure& report_unrecoverable_error_function, | 96 const base::Closure& report_unrecoverable_error_function, |
| 98 syncer::NetworkResources* network_resources, | 97 const HttpPostProviderFactoryGetter& http_post_provider_factory_getter, |
| 99 scoped_ptr<syncer::SyncEncryptionHandler::NigoriState> saved_nigori_state) | 98 scoped_ptr<syncer::SyncEncryptionHandler::NigoriState> saved_nigori_state) |
| 100 override; | 99 override; |
| 101 void TriggerRefresh(const syncer::ModelTypeSet& types) override; | 100 void TriggerRefresh(const syncer::ModelTypeSet& types) override; |
| 102 void UpdateCredentials(const syncer::SyncCredentials& credentials) override; | 101 void UpdateCredentials(const syncer::SyncCredentials& credentials) override; |
| 103 void StartSyncingWithServer() override; | 102 void StartSyncingWithServer() override; |
| 104 void SetEncryptionPassphrase(const std::string& passphrase, | 103 void SetEncryptionPassphrase(const std::string& passphrase, |
| 105 bool is_explicit) override; | 104 bool is_explicit) override; |
| 106 bool SetDecryptionPassphrase(const std::string& passphrase) override | 105 bool SetDecryptionPassphrase(const std::string& passphrase) override |
| 107 WARN_UNUSED_RESULT; | 106 WARN_UNUSED_RESULT; |
| 108 void StopSyncingForShutdown() override; | 107 void StopSyncingForShutdown() override; |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 bool invalidation_handler_registered_; | 383 bool invalidation_handler_registered_; |
| 385 | 384 |
| 386 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; | 385 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; |
| 387 | 386 |
| 388 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); | 387 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); |
| 389 }; | 388 }; |
| 390 | 389 |
| 391 } // namespace browser_sync | 390 } // namespace browser_sync |
| 392 | 391 |
| 393 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 392 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |
| OLD | NEW |