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

Issue 2517223002: Move content/renderer/background_sync to Blink (Closed)

Created:
4 years, 1 month ago by adithyas
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, blink-reviews-api_chromium.org, blink-worker-reviews_chromium.org, blundell+watchlist_chromium.org, browser-components-watch_chromium.org, chasej+watch_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, droger+watchlist_chromium.org, estade+watch_chromium.org, falken+watch_chromium.org, haraken, horo+watch_chromium.org, iclelland+watch_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, jkarlin+watch_chromium.org, jsbell+serviceworker_chromium.org, kinuko+watch, kinuko+serviceworker, mathp+autofillwatch_chromium.org, michaeln, mlamouri+watch-content_chromium.org, nhiroki, Peter Beverloo, qsr+mojo_chromium.org, rouslan+autofill_chromium.org, sdefresne+watchlist_chromium.org, sebsg+autofillwatch_chromium.org, serviceworker-reviews, shimazu+serviceworker_chromium.org, tzik, vabr+watchlistautofill_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move content/renderer/background_sync to Blink - Add Blink interface registry to ServiceWorkerContextClient to allow the BackgroundSyncClientService to be registered in Blink. - Map mojo Time struct to double in Blink - Remove background_sync_type_converters - Delete background_sync dirs in content/child and content/renderer ServiceWorkerGlobalScopeProxy and associated Web headers - Remove dispatchSync function from ServiceWorkerContextClient, - Remove didHandleSyncEvent from a whole bunch of files - Change WaitUntilObserver to take a callback that's called only for SyncEvents - Move callback clean up code from ServiceWorkerContextClient into WaitUntilObserver (using the contextDestroyed method) BUG=662134

Patch Set 1 #

Patch Set 2 : Remove extra includes and make DEPS more specific #

Total comments: 7

Patch Set 3 : Fix broken WebEmbeddedWorker test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -319 lines) Patch
M components/autofill/content/common/autofill_types_struct_traits.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/translate/content/common/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/translate/content/common/translate_struct_traits.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/child/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D content/child/background_sync/OWNERS View 1 chunk +0 lines, -5 lines 0 comments Download
D content/child/background_sync/PRESUBMIT.py View 1 chunk +0 lines, -12 lines 0 comments Download
D content/child/background_sync/background_sync_type_converters.h View 1 chunk +0 lines, -38 lines 0 comments Download
D content/child/background_sync/background_sync_type_converters.cc View 1 chunk +0 lines, -40 lines 0 comments Download
M content/renderer/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D content/renderer/background_sync/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D content/renderer/background_sync/PRESUBMIT.py View 1 chunk +0 lines, -12 lines 0 comments Download
D content/renderer/background_sync/background_sync_client_impl.h View 1 chunk +0 lines, -39 lines 0 comments Download
D content/renderer/background_sync/background_sync_client_impl.cc View 1 chunk +0 lines, -51 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.h View 6 chunks +5 lines, -11 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 11 chunks +11 lines, -50 lines 0 comments Download
M mojo/common/common_custom_types.mojom View 1 chunk +3 lines, -2 lines 0 comments Download
M mojo/common/common_custom_types_struct_traits.h View 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/background_sync/BackgroundSyncClientImpl.h View 1 1 chunk +39 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/background_sync/BackgroundSyncClientImpl.cpp View 1 chunk +67 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h View 5 chunks +15 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp View 4 chunks +27 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/mojo/CommonCustomTypes.typemap View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/mojo/CommonCustomTypesStructTraits.h View 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp View 4 chunks +4 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImplTest.cpp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h View 3 chunks +3 lines, -7 lines 0 comments Download
M third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
adithyas
4 years, 1 month ago (2016-11-21 20:51:09 UTC) #4
jbroman
I'm happy to see content/child/background_sync and content/renderer/background_sync go away entirely (and have Blink talking directly ...
4 years, 1 month ago (2016-11-21 21:36:02 UTC) #7
Marijn Kruisselbrink
(FYI this will conflict with https://codereview.chromium.org/2490623005/, which moves away from using an interface registry for ...
4 years, 1 month ago (2016-11-21 22:31:59 UTC) #8
adithyas
4 years, 1 month ago (2016-11-21 23:00:02 UTC) #9
On 2016/11/21 at 22:31:59, mek wrote:
> (FYI this will conflict with https://codereview.chromium.org/2490623005/,
which moves away from using an interface registry for these kinds of things)

Looks like that CL removes content/renderer/background_sync altogether, moving
it to content/renderer/service_worker instead. That makes this CL obsolete, so
I'm closing it.

Powered by Google App Engine
This is Rietveld 408576698