Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: sync/tools/sync_client.cc

Issue 10704214: [Sync] Refactor sync manager into interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« sync/internal_api/sync_manager_impl.cc ('K') | « sync/sync.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/sync_client.cc
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index d9fd4c5f7312be493511a7cee750aa75619bf2b6..a5ea7cc18188e385ff9d2e50f79b919e08426f50 100644
--- a/sync/tools/sync_client.cc
+++ b/sync/tools/sync_client.cc
@@ -38,6 +38,7 @@
#include "sync/js/js_event_details.h"
#include "sync/js/js_event_handler.h"
#include "sync/notifier/invalidation_state_tracker.h"
+#include "sync/notifier/sync_notifier.h"
#include "sync/notifier/sync_notifier_factory.h"
#include "sync/test/fake_encryptor.h"
@@ -354,13 +355,14 @@ int main(int argc, char* argv[]) {
kSyncServerPort,
kUseSsl,
blocking_task_runner,
- post_factory.release(),
+ post_factory.Pass(),
routing_info,
workers,
extensions_activity_monitor,
&change_delegate,
credentials,
- sync_notifier_factory.CreateSyncNotifier(),
+ scoped_ptr<syncer::SyncNotifier>(
+ sync_notifier_factory.CreateSyncNotifier()),
kRestoredKeyForBootstrapping,
kTestingMode,
&null_encryptor,
« sync/internal_api/sync_manager_impl.cc ('K') | « sync/sync.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698