|
|
Created:
4 years, 6 months ago by horo Modified:
4 years, 4 months ago CC:
asvitkine+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-html_chromium.org, blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+serviceworker, kinuko+watch, michaeln, nhiroki, serviceworker-reviews, tzik Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionSpeculatively launch Service Workers on mouse/touch events. [3/5]
1/5: Introduce NavigationHintSender.
https://codereview.chromium.org/2043863003/
2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter
https://codereview.chromium.org/2043083002/
3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter
This CL.
4/5: Measure the precision of the speculative launch of Service Workers for
NavigationHints
https://codereview.chromium.org/2045153003/
5/5: Add flags to enable SupeculativeLaunchServiceWorker
https://codereview.chromium.org/2053573002/
When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls
ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint().
ServiceWorkerContextWrapper will try to start a Service Worker for the document
which is linked from the anchor element.
This CL depends on https://codereview.chromium.org/2181553003/
BUG=616502
Committed: https://crrev.com/2cba6671596841c77457423e70e9d12070425dd1
Committed: https://crrev.com/56f30b7653eff769a4d39d92f8131f5e9f72f0c6
Cr-Original-Commit-Position: refs/heads/master@{#407695}
Cr-Commit-Position: refs/heads/master@{#407775}
Patch Set 1 : with https://codereview.chromium.org/2043083002/#ps420001 #Patch Set 2 : diff from https://codereview.chromium.org/2043083002/#ps420001 #Patch Set 3 : use OverrideThreadForMessage to call StartServiceWorkerForNavigationHinton UI thread #
Total comments: 23
Patch Set 4 : incorporated nhiroki's comment (depends on https://codereview.chromium.org/2181553003/) #Patch Set 5 : remove unnecessary includes #Messages
Total messages: 59 (45 generated)
Description was changed from ========== 003 ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ==========
Patchset #1 (id:1) has been deleted
Patchset #1 (id:20001) has been deleted
Patchset #3 (id:80001) has been deleted
Patchset #4 (id:120001) has been deleted
Patchset #3 (id:100001) has been deleted
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ResourceHintsHandlerImpl https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ResourceHintsHandlerImpl This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ==========
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ResourceHintsHandlerImpl https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ResourceHintsHandlerImpl This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ResourceHintsHandlerImpl https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ResourceHintsHandlerImpl This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ResourceHintsHandlerImpl receives NavigationHint mojo IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ==========
The CQ bit was checked by horo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ResourceHintsHandlerImpl https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ResourceHintsHandlerImpl This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ResourceHintsHandlerImpl receives NavigationHint mojo IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ResourceHintsHandlerImpl https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ResourceHintsHandlerImpl This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ==========
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ResourceHintsHandlerImpl https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ResourceHintsHandlerImpl This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ResourceHintsHandlerImpl https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ResourceHintsHandlerImpl This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ==========
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ResourceHintsHandlerImpl https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ResourceHintsHandlerImpl This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ==========
The CQ bit was checked by horo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #7 (id:220001) has been deleted
Patchset #6 (id:200001) has been deleted
Patchset #5 (id:180001) has been deleted
The CQ bit was checked by horo@chromium.org to run a CQ dry run
Patchset #4 (id:160001) has been deleted
Patchset #3 (id:140001) has been deleted
Patchset #2 (id:60001) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:40001) has been deleted
Patchset #2 (id:180001) has been deleted
Patchset #1 (id:60001) has been deleted
Patchset #3 (id:280001) has been deleted
Dry run: Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_a...) cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...) linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) mac_chromium_gyp_rel on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gyp_...)
The CQ bit was checked by horo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
horo@chromium.org changed reviewers: + nhiroki@chromium.org
nhiroki@ Could you please review this CL?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2052613003/diff/300001/chrome/browser/rendere... File chrome/browser/renderer_host/chrome_render_message_filter.cc (right): https://codereview.chromium.org/2052613003/diff/300001/chrome/browser/rendere... chrome/browser/renderer_host/chrome_render_message_filter.cc:13: #include "base/feature_list.h" Are this and other header inclusions added by this change necessary? https://codereview.chromium.org/2052613003/diff/300001/chrome/browser/rendere... chrome/browser/renderer_host/chrome_render_message_filter.cc:34: #include "content/public/browser/render_process_host.h" #include "content/public/browser/service_worker_context.h" https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... File content/browser/service_worker/service_worker_context_wrapper.cc (right): https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_context_wrapper.cc:97: default: I'd prefer to list all enum types on switch-statement if the number of them are low so that we can detect a missing on compile time. https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_context_wrapper.cc:336: context_core_->storage()->FindRegistrationForDocument( ServiceWorkerContextWrapper::FindReadyRegistrationForDocument() could be better because it enables to speculatively start a stored waiting version and we could expect that an initial launch after registration update becomes faster. https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_context_wrapper.cc:356: context_core_->process_manager()->AddProcessReferenceToPattern( Let me check my understanding... we add a process reference here because we want to ensure that a service worker is allocated on the same renderer process as a document. Is this correct? If so, can you add a comment about the reason why we do this here? https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... File content/browser/service_worker/service_worker_context_wrapper.h (right): https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_context_wrapper.h:253: const scoped_refptr<ServiceWorkerRegistration>& registration); Passing a smart pointer by const-reference is no longer encouraged: http://www.chromium.org/developers/smart-pointer-guidelines#TOC-What-about-pa... https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_metrics.cc:206: return "Navigation Hint Link Tap Unconfiemed"; s/Unconfiemed/Unconfirmed/ https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... File content/public/browser/service_worker_context.h (right): https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... content/public/browser/service_worker_context.h:114: // thread. The |callback| will always be called on the UI thred. s/UI thred/UI thread/ https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... content/public/browser/service_worker_context.h:117: // * The specified render process is suitable for loading |document_url|. is suitable -> is not suitable ? https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... content/public/browser/service_worker_context.h:118: // This check is done by RenderProcessHostImpl::IsSuitableHost(). RenderProcessHostImpl::IsSuitableHost() is an implementation detail and it might not be necessary to mention in a public interface. https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... content/public/browser/service_worker_context.h:119: // * Something unexpected goes wrong, like a renderer crash. This would be obvious and not necessary.
Thank you https://codereview.chromium.org/2052613003/diff/300001/chrome/browser/rendere... File chrome/browser/renderer_host/chrome_render_message_filter.cc (right): https://codereview.chromium.org/2052613003/diff/300001/chrome/browser/rendere... chrome/browser/renderer_host/chrome_render_message_filter.cc:13: #include "base/feature_list.h" On 2016/07/25 06:15:13, nhiroki (slow) wrote: > Are this and other header inclusions added by this change necessary? Done. https://codereview.chromium.org/2052613003/diff/300001/chrome/browser/rendere... chrome/browser/renderer_host/chrome_render_message_filter.cc:34: #include "content/public/browser/render_process_host.h" On 2016/07/25 06:15:13, nhiroki (slow) wrote: > #include "content/public/browser/service_worker_context.h" Done. https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... File content/browser/service_worker/service_worker_context_wrapper.cc (right): https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_context_wrapper.cc:97: default: On 2016/07/25 06:15:13, nhiroki (slow) wrote: > I'd prefer to list all enum types on switch-statement if the number of them are > low so that we can detect a missing on compile time. Done. https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_context_wrapper.cc:336: context_core_->storage()->FindRegistrationForDocument( On 2016/07/25 06:15:13, nhiroki (slow) wrote: > ServiceWorkerContextWrapper::FindReadyRegistrationForDocument() could be better > because it enables to speculatively start a stored waiting version and we could > expect that an initial launch after registration update becomes faster. Done. https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_context_wrapper.cc:356: context_core_->process_manager()->AddProcessReferenceToPattern( On 2016/07/25 06:15:13, nhiroki (slow) wrote: > Let me check my understanding... we add a process reference here because we want > to ensure that a service worker is allocated on the same renderer process as a > document. Is this correct? If so, can you add a comment about the reason why we > do this here? Done. https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... File content/browser/service_worker/service_worker_context_wrapper.h (right): https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_context_wrapper.h:253: const scoped_refptr<ServiceWorkerRegistration>& registration); On 2016/07/25 06:15:13, nhiroki (slow) wrote: > Passing a smart pointer by const-reference is no longer encouraged: > http://www.chromium.org/developers/smart-pointer-guidelines#TOC-What-about-pa... Done by https://codereview.chromium.org/2181553003. https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/2052613003/diff/300001/content/browser/servic... content/browser/service_worker/service_worker_metrics.cc:206: return "Navigation Hint Link Tap Unconfiemed"; On 2016/07/25 06:15:13, nhiroki (slow) wrote: > s/Unconfiemed/Unconfirmed/ Done. https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... File content/public/browser/service_worker_context.h (right): https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... content/public/browser/service_worker_context.h:114: // thread. The |callback| will always be called on the UI thred. On 2016/07/25 06:15:13, nhiroki (slow) wrote: > s/UI thred/UI thread/ Done. https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... content/public/browser/service_worker_context.h:117: // * The specified render process is suitable for loading |document_url|. On 2016/07/25 06:15:13, nhiroki (slow) wrote: > is suitable -> is not suitable ? Done. https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... content/public/browser/service_worker_context.h:118: // This check is done by RenderProcessHostImpl::IsSuitableHost(). On 2016/07/25 06:15:13, nhiroki (slow) wrote: > RenderProcessHostImpl::IsSuitableHost() is an implementation detail and it might > not be necessary to mention in a public interface. Done. https://codereview.chromium.org/2052613003/diff/300001/content/public/browser... content/public/browser/service_worker_context.h:119: // * Something unexpected goes wrong, like a renderer crash. On 2016/07/25 06:15:13, nhiroki (slow) wrote: > This would be obvious and not necessary. Done.
lgtm with a minor comment https://codereview.chromium.org/2052613003/diff/300001/chrome/browser/rendere... File chrome/browser/renderer_host/chrome_render_message_filter.cc (right): https://codereview.chromium.org/2052613003/diff/300001/chrome/browser/rendere... chrome/browser/renderer_host/chrome_render_message_filter.cc:13: #include "base/feature_list.h" On 2016/07/25 08:24:26, horo wrote: > On 2016/07/25 06:15:13, nhiroki (slow) wrote: > > Are this and other header inclusions added by this change necessary? > > Done. How about storage_partition.h and content_features.h?
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. BUG=616502 ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 ==========
horo@chromium.org changed reviewers: + jochen@chromium.org
jochen@ Please review chrome/browser/renderer_host/chrome_render_message_filter.* and content/public/browser/service_worker_context.h.
lgtm
The CQ bit was checked by horo@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from nhiroki@chromium.org Link to the patchset: https://codereview.chromium.org/2052613003/#ps340001 (title: "remove unnecessary includes")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by horo@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 ==========
Message was sent while issue was closed.
Committed patchset #5 (id:340001)
Message was sent while issue was closed.
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 Committed: https://crrev.com/2cba6671596841c77457423e70e9d12070425dd1 Cr-Commit-Position: refs/heads/master@{#407695} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/2cba6671596841c77457423e70e9d12070425dd1 Cr-Commit-Position: refs/heads/master@{#407695}
Message was sent while issue was closed.
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 Committed: https://crrev.com/2cba6671596841c77457423e70e9d12070425dd1 Cr-Commit-Position: refs/heads/master@{#407695} ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 Committed: https://crrev.com/2cba6671596841c77457423e70e9d12070425dd1 Cr-Commit-Position: refs/heads/master@{#407695} ==========
The CQ bit was checked by horo@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 Committed: https://crrev.com/2cba6671596841c77457423e70e9d12070425dd1 Cr-Commit-Position: refs/heads/master@{#407695} ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 Committed: https://crrev.com/2cba6671596841c77457423e70e9d12070425dd1 Cr-Commit-Position: refs/heads/master@{#407695} ==========
Message was sent while issue was closed.
Committed patchset #5 (id:340001)
Message was sent while issue was closed.
Description was changed from ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 Committed: https://crrev.com/2cba6671596841c77457423e70e9d12070425dd1 Cr-Commit-Position: refs/heads/master@{#407695} ========== to ========== Speculatively launch Service Workers on mouse/touch events. [3/5] 1/5: Introduce NavigationHintSender. https://codereview.chromium.org/2043863003/ 2/5: Pipe NavigationHints from NavigationHintSender to ChromeRenderMessageFilter https://codereview.chromium.org/2043083002/ 3/5: Call StartServiceWorkerForNavigationHint() from ChromeRenderMessageFilter This CL. 4/5: Measure the precision of the speculative launch of Service Workers for NavigationHints https://codereview.chromium.org/2045153003/ 5/5: Add flags to enable SupeculativeLaunchServiceWorker https://codereview.chromium.org/2053573002/ When ChromeRenderMessageFilter receives NavigationHint IPC message, it calls ServiceWorkerContextWrapper::StartServiceWorkerForNavigationHint(). ServiceWorkerContextWrapper will try to start a Service Worker for the document which is linked from the anchor element. This CL depends on https://codereview.chromium.org/2181553003/ BUG=616502 Committed: https://crrev.com/2cba6671596841c77457423e70e9d12070425dd1 Committed: https://crrev.com/56f30b7653eff769a4d39d92f8131f5e9f72f0c6 Cr-Original-Commit-Position: refs/heads/master@{#407695} Cr-Commit-Position: refs/heads/master@{#407775} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/56f30b7653eff769a4d39d92f8131f5e9f72f0c6 Cr-Commit-Position: refs/heads/master@{#407775} |