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

Unified Diff: chrome/browser/resources/net_internals/main.js

Issue 2115007: Annotate load flags and net errors with their symbolic name.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address willchan's comment Created 10 years, 7 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 | « chrome/browser/resources/net_internals/logviewpainter.js ('k') | net/base/load_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/main.js
===================================================================
--- chrome/browser/resources/net_internals/main.js (revision 47545)
+++ chrome/browser/resources/net_internals/main.js (working copy)
@@ -8,6 +8,8 @@
var LogEventType = null;
var LogEventPhase = null;
var LogSourceType = null;
+var NetError = null;
+var LoadFlag = null;
/**
* Object to communicate between the renderer and the browser.
@@ -218,6 +220,14 @@
LogSourceType = constantsMap;
};
+BrowserBridge.prototype.receivedLoadFlagConstants = function(constantsMap) {
+ LoadFlag = constantsMap;
+};
+
+BrowserBridge.prototype.receivedNetErrorConstants = function(constantsMap) {
+ NetError = constantsMap;
+};
+
BrowserBridge.prototype.receivedTimeTickOffset = function(timeTickOffset) {
this.timeTickOffset_ = timeTickOffset;
};
« no previous file with comments | « chrome/browser/resources/net_internals/logviewpainter.js ('k') | net/base/load_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698