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

Side by Side Diff: chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/devtools.js

Issue 8309001: Adding `content_security_policy` to a few sample extensions. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: License and whitespace. Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
1 function Console() { 5 function Console() {
2 } 6 }
3 7
4 Console.Type = { 8 Console.Type = {
5 LOG: "log", 9 LOG: "log",
6 DEBUG: "debug", 10 DEBUG: "debug",
7 INFO: "info", 11 INFO: "info",
8 WARN: "warn", 12 WARN: "warn",
9 ERROR: "error", 13 ERROR: "error",
10 GROUP: "group", 14 GROUP: "group",
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 if (!entries.length) { 176 if (!entries.length) {
173 Console.warn("ChromeFirePHP suggests that you reload the page to track" + 177 Console.warn("ChromeFirePHP suggests that you reload the page to track" +
174 " FirePHP messages for all the requests"); 178 " FirePHP messages for all the requests");
175 } 179 }
176 for (var i = 0; i < entries.length; ++i) 180 for (var i = 0; i < entries.length; ++i)
177 ChromeFirePHP.handleFirePhp_headers(entries[i]); 181 ChromeFirePHP.handleFirePhp_headers(entries[i]);
178 182
179 chrome.experimental.devtools.network.onRequestFinished.addListener( 183 chrome.experimental.devtools.network.onRequestFinished.addListener(
180 ChromeFirePHP.handleFirePhpHeaders.bind(ChromeFirePHP)); 184 ChromeFirePHP.handleFirePhpHeaders.bind(ChromeFirePHP));
181 }); 185 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698