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

Issue 871013003: Gather the ServiceWorker client information in the browser process. (Closed)

Created:
5 years, 11 months ago by mlamouri (slow - plz ping)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+serviceworker, michaeln, mkwst+moarreviews-renderer_chromium.org, Mike West, nasko, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@rfh_getvisibilitystate
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Gather the ServiceWorker client information in the browser process. This is also adding some logic about empty and invalid ServiceWorkerClientInfo. BUG=450634 Committed: https://crrev.com/5d6924925a291a7cf394a685772251c83a63f99f Cr-Commit-Position: refs/heads/master@{#313982} Committed: https://crrev.com/ed180d9ace6284cb2b91843e70e93b57a71b6e80 Cr-Commit-Position: refs/heads/master@{#314636}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Total comments: 12

Patch Set 3 : review comments #

Total comments: 13

Patch Set 4 : review comments #

Patch Set 5 : review comments #

Patch Set 6 : added TODO #

Total comments: 4

Patch Set 7 : move conversion out of struct #

Patch Set 8 : rebase #

Patch Set 9 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -122 lines) Patch
M content/browser/service_worker/service_worker_provider_host.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.cc View 1 2 3 4 5 6 7 8 3 chunks +33 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 5 chunks +3 lines, -10 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 3 4 5 8 chunks +23 lines, -44 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.cc View 1 2 3 2 chunks +0 lines, -26 lines 0 comments Download
A content/common/service_worker/service_worker_client_info.h View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
A content/common/service_worker/service_worker_client_info.cc View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 2 3 chunks +1 line, -16 lines 0 comments Download
M content/common/service_worker/service_worker_types.h View 1 2 2 chunks +1 line, -8 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 1 2 3 4 5 6 2 chunks +17 lines, -8 lines 0 comments Download

Messages

Total messages: 30 (7 generated)
mlamouri (slow - plz ping)
nasko@, could you review changes in: - content/common/DEPS - content/common/service_worker/service_worker_messages.h michaeln@, could you review changes ...
5 years, 11 months ago (2015-01-23 15:28:12 UTC) #2
mlamouri (slow - plz ping)
-nasko@ who is going to be super busy next week. +tsepez@ to do the security ...
5 years, 11 months ago (2015-01-23 17:20:58 UTC) #3
Tom Sepez
https://codereview.chromium.org/871013003/diff/1/content/common/service_worker/service_worker_traits.h File content/common/service_worker/service_worker_traits.h (right): https://codereview.chromium.org/871013003/diff/1/content/common/service_worker/service_worker_traits.h#newcode17 content/common/service_worker/service_worker_traits.h:17: template <> This is a step in the wrong ...
5 years, 11 months ago (2015-01-23 17:51:43 UTC) #5
mlamouri (slow - plz ping)
https://codereview.chromium.org/871013003/diff/1/content/common/service_worker/service_worker_traits.h File content/common/service_worker/service_worker_traits.h (right): https://codereview.chromium.org/871013003/diff/1/content/common/service_worker/service_worker_traits.h#newcode17 content/common/service_worker/service_worker_traits.h:17: template <> On 2015/01/23 at 17:51:43, Tom Sepez wrote: ...
5 years, 11 months ago (2015-01-23 18:41:07 UTC) #6
michaeln
looking pretty good https://codereview.chromium.org/871013003/diff/20001/content/browser/service_worker/service_worker_provider_host.cc File content/browser/service_worker/service_worker_provider_host.cc (right): https://codereview.chromium.org/871013003/diff/20001/content/browser/service_worker/service_worker_provider_host.cc#newcode53 content/browser/service_worker/service_worker_provider_host.cc:53: DCHECK(render_frame_host); Its hard to be sure ...
5 years, 11 months ago (2015-01-26 22:09:46 UTC) #7
mlamouri (slow - plz ping)
tsepez@, I no longer have custom traits. michaeln@, I applied your comments. I'm not sure ...
5 years, 11 months ago (2015-01-27 15:03:08 UTC) #8
Tom Sepez
Messages LGTM.
5 years, 11 months ago (2015-01-27 17:54:13 UTC) #9
michaeln
https://codereview.chromium.org/871013003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc File content/browser/service_worker/service_worker_provider_host.cc (right): https://codereview.chromium.org/871013003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc#newcode55 content/browser/service_worker/service_worker_provider_host.cc:55: render_frame_host->GetLastCommittedURL() != expected_url) { Not sure this works in ...
5 years, 11 months ago (2015-01-27 23:12:57 UTC) #10
mlamouri (slow - plz ping)
PTAL https://codereview.chromium.org/871013003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc File content/browser/service_worker/service_worker_provider_host.cc (right): https://codereview.chromium.org/871013003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc#newcode55 content/browser/service_worker/service_worker_provider_host.cc:55: render_frame_host->GetLastCommittedURL() != expected_url) { On 2015/01/27 at 23:12:56, ...
5 years, 10 months ago (2015-01-28 11:35:05 UTC) #11
michaeln
lgtm https://codereview.chromium.org/871013003/diff/40001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/871013003/diff/40001/content/browser/service_worker/service_worker_version.cc#newcode857 content/browser/service_worker/service_worker_version.cc:857: weak_factory_.GetWeakPtr(), it.GetCurrentKey(), callback)); On 2015/01/28 11:35:05, Mounir Lamouri ...
5 years, 10 months ago (2015-01-28 20:26:21 UTC) #12
mlamouri (slow - plz ping)
TODO added. Jochen, could you have a look at the content/common/DEPS change?
5 years, 10 months ago (2015-01-29 07:12:17 UTC) #14
jochen (gone - plz use gerrit)
https://codereview.chromium.org/871013003/diff/100001/content/common/DEPS File content/common/DEPS (right): https://codereview.chromium.org/871013003/diff/100001/content/common/DEPS#newcode35 content/common/DEPS:35: "+third_party/WebKit/public/platform/WebServiceWorkerClientsInfo.h", this is not an POD/enum header, so we ...
5 years, 10 months ago (2015-01-29 15:18:01 UTC) #15
mlamouri (slow - plz ping)
This CL no longer changes DEPS so I no longer need your review jochen. Nice ...
5 years, 10 months ago (2015-01-29 17:57:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871013003/120001
5 years, 10 months ago (2015-01-29 17:58:13 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/53563) ios_rel_device_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/5511) ios_rel_device_ninja_ng ...
5 years, 10 months ago (2015-01-29 18:01:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871013003/140001
5 years, 10 months ago (2015-01-30 19:43:29 UTC) #22
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 10 months ago (2015-01-30 20:39:49 UTC) #23
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/5d6924925a291a7cf394a685772251c83a63f99f Cr-Commit-Position: refs/heads/master@{#313982}
5 years, 10 months ago (2015-01-30 20:41:57 UTC) #24
horo
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/893783002/ by horo@chromium.org. ...
5 years, 10 months ago (2015-01-31 10:02:21 UTC) #25
mlamouri (slow - plz ping)
The following CL should fix how we know whether a frame is focused: https://codereview.chromium.org/898443003
5 years, 10 months ago (2015-02-02 15:46:18 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871013003/160001
5 years, 10 months ago (2015-02-04 20:14:58 UTC) #28
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 10 months ago (2015-02-04 21:20:24 UTC) #29
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 21:21:28 UTC) #30
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/ed180d9ace6284cb2b91843e70e93b57a71b6e80
Cr-Commit-Position: refs/heads/master@{#314636}

Powered by Google App Engine
This is Rietveld 408576698