Index: sync/internal_api/sync_backup_manager.cc |
diff --git a/sync/internal_api/sync_backup_manager.cc b/sync/internal_api/sync_backup_manager.cc |
index 32955683dd9ee21f96d1c4bed8665519e09afbea..0e71f3b7de51b940581c102092fe70335001bcc2 100644 |
--- a/sync/internal_api/sync_backup_manager.cc |
+++ b/sync/internal_api/sync_backup_manager.cc |
@@ -8,6 +8,7 @@ |
#include "sync/internal_api/public/write_transaction.h" |
#include "sync/syncable/directory.h" |
#include "sync/syncable/mutable_entry.h" |
+#include "url/gurl.h" |
namespace syncer { |
@@ -19,25 +20,22 @@ SyncBackupManager::~SyncBackupManager() { |
} |
void SyncBackupManager::Init( |
- const base::FilePath& database_location, |
- const WeakHandle<JsEventHandler>& event_handler, |
- const std::string& sync_server_and_path, |
- int sync_server_port, |
- bool use_ssl, |
- scoped_ptr<HttpPostProviderFactory> post_factory, |
- const std::vector<scoped_refptr<ModelSafeWorker> >& workers, |
- ExtensionsActivity* extensions_activity, |
- SyncManager::ChangeDelegate* change_delegate, |
- const SyncCredentials& credentials, |
- const std::string& invalidator_client_id, |
- const std::string& restored_key_for_bootstrapping, |
- const std::string& restored_keystore_key_for_bootstrapping, |
- InternalComponentsFactory* internal_components_factory, |
- Encryptor* encryptor, |
- scoped_ptr<UnrecoverableErrorHandler> unrecoverable_error_handler, |
- ReportUnrecoverableErrorFunction |
- report_unrecoverable_error_function, |
- CancelationSignal* cancelation_signal) { |
+ const base::FilePath& database_location, |
+ const WeakHandle<JsEventHandler>& event_handler, |
+ const GURL& service_url, |
+ scoped_ptr<HttpPostProviderFactory> post_factory, |
+ const std::vector<scoped_refptr<ModelSafeWorker> >& workers, |
+ ExtensionsActivity* extensions_activity, |
+ SyncManager::ChangeDelegate* change_delegate, |
+ const SyncCredentials& credentials, |
+ const std::string& invalidator_client_id, |
+ const std::string& restored_key_for_bootstrapping, |
+ const std::string& restored_keystore_key_for_bootstrapping, |
+ InternalComponentsFactory* internal_components_factory, |
+ Encryptor* encryptor, |
+ scoped_ptr<UnrecoverableErrorHandler> unrecoverable_error_handler, |
+ ReportUnrecoverableErrorFunction report_unrecoverable_error_function, |
+ CancelationSignal* cancelation_signal) { |
if (SyncRollbackManagerBase::InitInternal( |
database_location, |
internal_components_factory, |