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

Issue 2721603002: chrome://ntp-tiles-internals: hide when incognito (Closed)

Created:
3 years, 9 months ago by sfiera
Modified:
3 years, 9 months ago
Reviewers:
Marc Treib
CC:
chromium-reviews, noyau+watch_chromium.org, oshima+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chrome://ntp-tiles-internals: hide when incognito Previously I just disabled the callbacks. In addition to that, send back an empty configuration and site list, to make the page properly display that everything is disabled and there are no sites in incognito. Without this change, the "View JSON" button appears for popular sites, but causes a crash because there's no PopularSites object. BUG=682622, 696471, 681774 Review-Url: https://codereview.chromium.org/2721603002 Cr-Commit-Position: refs/heads/master@{#453220} Committed: https://chromium.googlesource.com/chromium/src/+/d6336797781587abf6c3fa648d034315714d1134

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M components/ntp_tiles/webui/resources/ntp_tiles_internals.js View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
sfiera
Fixes a minor crasher.
3 years, 9 months ago (2017-02-27 14:52:35 UTC) #4
Marc Treib
LGTM, but I don't see how this fixes a crash? I'd add the improved-but-not-fixed bug ...
3 years, 9 months ago (2017-02-27 15:04:54 UTC) #5
sfiera
On 2017/02/27 15:04:54, Marc Treib wrote: > LGTM, but I don't see how this fixes ...
3 years, 9 months ago (2017-02-27 15:14:43 UTC) #7
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/2721603002/1
3 years, 9 months ago (2017-02-27 15:39:42 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 15:44:51 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/d6336797781587abf6c3fa648d03...

Powered by Google App Engine
This is Rietveld 408576698