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

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

Issue 1763123002: [BackgroundSync] Remove BackgroundSyncRegistrationHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from PS7 Created 4 years, 9 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 61088f8e909c7fb6a24e745257eeacf6182b87df..607844a4c911f37e8c91698c8fa5dbfd029b749d 100644
--- a/content/child/background_sync/background_sync_type_converters.cc
+++ b/content/child/background_sync/background_sync_type_converters.cc
@@ -51,7 +51,7 @@ scoped_ptr<blink::WebSyncRegistration> TypeConverter<
const content::SyncRegistrationPtr& input) {
scoped_ptr<blink::WebSyncRegistration> result(
new blink::WebSyncRegistration());
- result->id = input->handle_id;
+ result->id = input->id;
result->tag = blink::WebString::fromUTF8(input->tag);
result->networkState =
ConvertTo<blink::WebSyncRegistration::NetworkState>(input->network_state);
@@ -65,7 +65,7 @@ content::SyncRegistrationPtr TypeConverter<
const blink::WebSyncRegistration& input) {
content::SyncRegistrationPtr result(
content::SyncRegistration::New());
- result->handle_id = input.id;
+ result->id = input.id;
result->tag = input.tag.utf8();
result->network_state =
ConvertTo<content::BackgroundSyncNetworkState>(input.networkState);

Powered by Google App Engine
This is Rietveld 408576698