Index: sync/internal_api/sync_backup_manager_unittest.cc |
diff --git a/sync/internal_api/sync_backup_manager_unittest.cc b/sync/internal_api/sync_backup_manager_unittest.cc |
index c0753540c1d3a176e3666aa222891791fcac9b3c..33e01c5237b4b95330241543a588fa8e5e4bcb70 100644 |
--- a/sync/internal_api/sync_backup_manager_unittest.cc |
+++ b/sync/internal_api/sync_backup_manager_unittest.cc |
@@ -16,6 +16,7 @@ |
#include "sync/test/test_directory_backing_store.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "url/gurl.h" |
using ::testing::_; |
using ::testing::Invoke; |
@@ -61,11 +62,20 @@ class SyncBackupManagerTest : public syncer::SyncManager::Observer, |
base::RunLoop run_loop; |
manager->Init(temp_dir_.path(), |
MakeWeakHandle(base::WeakPtr<JsEventHandler>()), |
- "", 0, true, scoped_ptr<HttpPostProviderFactory>().Pass(), |
+ GURL("https://example.com/"), |
+ scoped_ptr<HttpPostProviderFactory>().Pass(), |
std::vector<scoped_refptr<ModelSafeWorker> >(), |
- NULL, NULL, SyncCredentials(), "", "", "", &factory, |
- NULL, scoped_ptr<UnrecoverableErrorHandler>().Pass(), |
- NULL, NULL); |
+ NULL, |
+ NULL, |
+ SyncCredentials(), |
+ "", |
+ "", |
+ "", |
+ &factory, |
+ NULL, |
+ scoped_ptr<UnrecoverableErrorHandler>().Pass(), |
+ NULL, |
+ NULL); |
loop_.PostTask(FROM_HERE, run_loop.QuitClosure()); |
run_loop.Run(); |
} |
@@ -157,4 +167,3 @@ TEST_F(SyncBackupManagerTest, FailToInitialize) { |
} // anonymous namespace |
} // namespace syncer |
- |