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

Side by Side Diff: chrome/browser/resources/local_ntp/local_ntp.js

Issue 2805133004: Local NTP: Deploy strict-dynamic CSP (Closed)
Patch Set: rebase Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 // NOTE: If you modify this file, you also have to change its hash in
7 // local_ntp.html and in LocalNtpSource::GetContentSecurityPolicyScriptSrc.
8
9
6 /** 10 /**
7 * @fileoverview The local InstantExtended NTP. 11 * @fileoverview The local InstantExtended NTP.
8 */ 12 */
9 13
10 14
11 /** 15 /**
12 * Controls rendering the new tab page for InstantExtended. 16 * Controls rendering the new tab page for InstantExtended.
13 * @return {Object} A limited interface for testing the local NTP. 17 * @return {Object} A limited interface for testing the local NTP.
14 */ 18 */
15 function LocalNTP() { 19 function LocalNTP() {
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 return { 676 return {
673 init: init, // Exposed for testing. 677 init: init, // Exposed for testing.
674 listen: listen 678 listen: listen
675 }; 679 };
676 680
677 } 681 }
678 682
679 if (!window.localNTPUnitTest) { 683 if (!window.localNTPUnitTest) {
680 LocalNTP().listen(); 684 LocalNTP().listen();
681 } 685 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698