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

Issue 2733873002: Third-party NTPs: Set "instant support" flag earlier. (Closed)

Created:
3 years, 9 months ago by Marc Treib
Modified:
3 years, 9 months ago
Reviewers:
sfiera
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Third-party NTPs: Set "instant support" flag earlier. This fixes a regression introduced in https://codereview.chromium.org/2429523002, which removed some unnecessary logging calls that turned out to have unexpected side effects. This CL is a workaround rather than a proper fix; as far as I can tell, it'll still be racy, though no worse than it was before. In fact, it's kind of incidental that this ever worked at all... BUG=698675 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2733873002 Cr-Commit-Position: refs/heads/master@{#455416} Committed: https://chromium.googlesource.com/chromium/src/+/196a572ea1ff4a260f80bb3f96ebd4ffeaed0f71

Patch Set 1 #

Patch Set 2 : comment #

Total comments: 10

Patch Set 3 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M chrome/browser/resources/local_ntp/most_visited_util.js View 1 2 2 chunks +19 lines, -0 lines 0 comments Download
M chrome/common/search/ntp_logging_events.h View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
Marc Treib
PTAL. Ugly hacks FTW.
3 years, 9 months ago (2017-03-06 15:26:52 UTC) #5
sfiera
Question: why don't we see this problem with Google-branded NTPs (local or remote)? Are Google ...
3 years, 9 months ago (2017-03-06 15:42:53 UTC) #6
sfiera
https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode220 chrome/browser/resources/local_ntp/most_visited_util.js:220: // page to true, which makes later calls to ...
3 years, 9 months ago (2017-03-06 15:48:01 UTC) #7
Marc Treib
On 2017/03/06 15:42:53, sfiera wrote: > Question: why don't we see this problem with Google-branded ...
3 years, 9 months ago (2017-03-06 18:49:15 UTC) #10
Marc Treib
On 2017/03/06 18:49:15, Marc Treib wrote: > On 2017/03/06 15:42:53, sfiera wrote: > > Question: ...
3 years, 9 months ago (2017-03-06 18:57:45 UTC) #11
Marc Treib
https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode220 chrome/browser/resources/local_ntp/most_visited_util.js:220: // page to true, which makes later calls to ...
3 years, 9 months ago (2017-03-06 18:59:19 UTC) #12
sfiera
https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode220 chrome/browser/resources/local_ntp/most_visited_util.js:220: // page to true, which makes later calls to ...
3 years, 9 months ago (2017-03-07 15:07:59 UTC) #13
Marc Treib
Thanks! Comments addressed. https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode220 chrome/browser/resources/local_ntp/most_visited_util.js:220: // page to true, which makes ...
3 years, 9 months ago (2017-03-07 16:08:19 UTC) #16
sfiera
LGTM https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode220 chrome/browser/resources/local_ntp/most_visited_util.js:220: // page to true, which makes later calls ...
3 years, 9 months ago (2017-03-07 16:26:24 UTC) #17
Marc Treib
https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/2733873002/diff/20001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode220 chrome/browser/resources/local_ntp/most_visited_util.js:220: // page to true, which makes later calls to ...
3 years, 9 months ago (2017-03-07 16:33:55 UTC) #18
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/2733873002/80001
3 years, 9 months ago (2017-03-08 09:30:29 UTC) #24
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 09:34:55 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/196a572ea1ff4a260f80bb3f96eb...

Powered by Google App Engine
This is Rietveld 408576698