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

Unified Diff: content/child/background_sync/background_sync_type_converters.cc

Issue 1282013004: BackgroundSyncManager tracks client registrations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed test Created 5 years, 3 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: content/child/background_sync/background_sync_type_converters.cc
diff --git a/content/child/background_sync/background_sync_type_converters.cc b/content/child/background_sync/background_sync_type_converters.cc
index 72eddb73d5f2306b610bcc0f65246c924f143437..8591ad3e3df818ea6a093589640a07b42ef172be 100644
--- a/content/child/background_sync/background_sync_type_converters.cc
+++ b/content/child/background_sync/background_sync_type_converters.cc
@@ -95,7 +95,7 @@ scoped_ptr<blink::WebSyncRegistration> TypeConverter<
const content::SyncRegistrationPtr& input) {
scoped_ptr<blink::WebSyncRegistration> result(
new blink::WebSyncRegistration());
- result->id = input->id;
+ result->id = input->handle_id;
result->periodicity =
ConvertTo<blink::WebSyncRegistration::Periodicity>(input->periodicity);
result->tag = blink::WebString::fromUTF8(input->tag);
@@ -114,7 +114,7 @@ content::SyncRegistrationPtr TypeConverter<
const blink::WebSyncRegistration& input) {
content::SyncRegistrationPtr result(
content::SyncRegistration::New());
- result->id = input.id;
+ result->handle_id = input.id;
result->periodicity =
ConvertTo<content::BackgroundSyncPeriodicity>(input.periodicity);
result->tag = input.tag.utf8();

Powered by Google App Engine
This is Rietveld 408576698