OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 // SyncManager implementation. | 33 // SyncManager implementation. |
34 virtual bool Init( | 34 virtual bool Init( |
35 const FilePath& database_location, | 35 const FilePath& database_location, |
36 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, | 36 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, |
37 const std::string& sync_server_and_path, | 37 const std::string& sync_server_and_path, |
38 int sync_server_port, | 38 int sync_server_port, |
39 bool use_ssl, | 39 bool use_ssl, |
40 const scoped_refptr<base::TaskRunner>& blocking_task_runner, | 40 const scoped_refptr<base::TaskRunner>& blocking_task_runner, |
41 scoped_ptr<HttpPostProviderFactory> post_factory, | 41 scoped_ptr<HttpPostProviderFactory> post_factory, |
42 const syncer::ModelSafeRoutingInfo& model_safe_routing_info, | |
43 const std::vector<syncer::ModelSafeWorker*>& workers, | 42 const std::vector<syncer::ModelSafeWorker*>& workers, |
44 syncer::ExtensionsActivityMonitor* extensions_activity_monitor, | 43 syncer::ExtensionsActivityMonitor* extensions_activity_monitor, |
45 SyncManager::ChangeDelegate* change_delegate, | 44 SyncManager::ChangeDelegate* change_delegate, |
46 const SyncCredentials& credentials, | 45 const SyncCredentials& credentials, |
47 scoped_ptr<syncer::SyncNotifier> sync_notifier, | 46 scoped_ptr<syncer::SyncNotifier> sync_notifier, |
48 const std::string& restored_key_for_bootstrapping, | 47 const std::string& restored_key_for_bootstrapping, |
49 TestingMode testing_mode, | 48 TestingMode testing_mode, |
50 syncer::Encryptor* encryptor, | 49 syncer::Encryptor* encryptor, |
51 syncer::UnrecoverableErrorHandler* unrecoverable_error_handler, | 50 syncer::UnrecoverableErrorHandler* unrecoverable_error_handler, |
52 syncer::ReportUnrecoverableErrorFunction | 51 syncer::ReportUnrecoverableErrorFunction |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 118 |
120 // An opaque pointer to the nested private class. | 119 // An opaque pointer to the nested private class. |
121 SyncInternal* data_; | 120 SyncInternal* data_; |
122 | 121 |
123 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 122 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
124 }; | 123 }; |
125 | 124 |
126 } // namespace syncer | 125 } // namespace syncer |
127 | 126 |
128 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 127 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |