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

Issue 2898313003: Ensure the NTP ServiceWorker has the proper site URL (Closed)

Created:
3 years, 7 months ago by clamy
Modified:
3 years, 6 months ago
Reviewers:
jam
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, jered+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure the NTP ServiceWorker has the proper site URL This CL ensures the ServiceWorker of the NTP gets recognized as such, and that it is assigned the same effective URL as the NTP. This allows it to run in the same process as the NTP when PlzNavigate is enabled, fixing a regression on the PLT of the NTP. BUG=705318 Review-Url: https://codereview.chromium.org/2898313003 Cr-Commit-Position: refs/heads/master@{#475566} Committed: https://chromium.googlesource.com/chromium/src/+/a4262ab9315b24197a00cc6c942474144c1e4a7f

Patch Set 1 #

Patch Set 2 : Ensure the NTP ServiceWorker has the proper site URL #

Total comments: 3

Patch Set 3 : Rebase + addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -2 lines) Patch
M chrome/browser/search/search.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/search/search_unittest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/search/search_urls.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/search/search_urls.cc View 1 2 3 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
clamy
@jam: PTAL (the owner for this code is OOO until June 7).
3 years, 6 months ago (2017-05-29 16:03:54 UTC) #9
jam
lgtm https://codereview.chromium.org/2898313003/diff/20001/chrome/common/search/search_urls.h File chrome/common/search/search_urls.h (right): https://codereview.chromium.org/2898313003/diff/20001/chrome/common/search/search_urls.h#newcode19 chrome/common/search/search_urls.h:19: bool IsMatchingServiceWorker(const GURL& my_url, const GURL& other_url); nit: ...
3 years, 6 months ago (2017-05-30 14:51:12 UTC) #13
clamy
Thanks! https://codereview.chromium.org/2898313003/diff/20001/chrome/common/search/search_urls.h File chrome/common/search/search_urls.h (right): https://codereview.chromium.org/2898313003/diff/20001/chrome/common/search/search_urls.h#newcode19 chrome/common/search/search_urls.h:19: bool IsMatchingServiceWorker(const GURL& my_url, const GURL& other_url); On ...
3 years, 6 months ago (2017-05-30 15:54:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2898313003/40001
3 years, 6 months ago (2017-05-30 15:54:32 UTC) #17
jam
https://codereview.chromium.org/2898313003/diff/20001/chrome/common/search/search_urls.h File chrome/common/search/search_urls.h (right): https://codereview.chromium.org/2898313003/diff/20001/chrome/common/search/search_urls.h#newcode19 chrome/common/search/search_urls.h:19: bool IsMatchingServiceWorker(const GURL& my_url, const GURL& other_url); On 2017/05/30 ...
3 years, 6 months ago (2017-05-30 16:12:41 UTC) #18
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 16:53:40 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a4262ab9315b24197a00cc6c9424...

Powered by Google App Engine
This is Rietveld 408576698