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

Unified Diff: components/ntp_tiles/webui/resources/ntp_tiles_internals.js

Issue 2721603002: chrome://ntp-tiles-internals: hide when incognito (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_tiles/webui/resources/ntp_tiles_internals.js
diff --git a/components/ntp_tiles/webui/resources/ntp_tiles_internals.js b/components/ntp_tiles/webui/resources/ntp_tiles_internals.js
index dedcdf360342a233f08c2a61e36fa7c2529934ff..d0cbbdc4c2dfc754284045169d1999843f8eebb8 100644
--- a/components/ntp_tiles/webui/resources/ntp_tiles_internals.js
+++ b/components/ntp_tiles/webui/resources/ntp_tiles_internals.js
@@ -6,8 +6,6 @@ cr.define('chrome.ntp_tiles_internals', function() {
'use strict';
var initialize = function() {
- receiveSites({});
-
$('submit-update').addEventListener('click', function(event) {
event.preventDefault();
chrome.send('update', [{
« no previous file with comments | « components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698