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

Unified Diff: trunk/src/chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc

Issue 17610004: Revert 208315 "Make use of InvalidationService" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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
Index: trunk/src/chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc
===================================================================
--- trunk/src/chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc (revision 208346)
+++ trunk/src/chrome/browser/extensions/api/push_messaging/sync_setup_helper.cc (working copy)
@@ -29,8 +29,7 @@
bool SyncSetupHelper::InitializeSync(Profile* profile) {
profile_ = profile;
- client_.reset(
- ProfileSyncServiceHarness::Create(profile_, username_, password_));
+ client_.reset(new ProfileSyncServiceHarness(profile_, username_, password_));
if (client_->service()->IsSyncEnabledAndLoggedIn())
return true;

Powered by Google App Engine
This is Rietveld 408576698