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

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

Issue 10534055: [refactor] Rename some constants in net-internals. Mostly just removes a redundant "Log" prefix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stop adding OWNERS u POS! Created 8 years, 6 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
Index: chrome/browser/resources/net_internals/main.js
diff --git a/chrome/browser/resources/net_internals/main.js b/chrome/browser/resources/net_internals/main.js
index 20cbd10f03a775c839f2b4357724e14ee3ae3c5c..89f1ad3a871edc281997e6171548cc926ff04d2f 100644
--- a/chrome/browser/resources/net_internals/main.js
+++ b/chrome/browser/resources/net_internals/main.js
@@ -7,11 +7,11 @@
* updated on load log). The *Types dictionaries map strings to numeric IDs,
* while the *TypeNames are the other way around.
*/
-var LogEventType = null;
-var LogEventTypeNames = null;
-var LogEventPhase = null;
-var LogSourceType = null;
-var LogSourceTypeNames = null;
+var EventType = null;
+var EventTypeNames = null;
+var EventPhase = null;
+var EventSourceType = null;
+var EventSourceTypeNames = null;
var LogLevelType = null;
var ClientInfo = null;
var NetError = null;
@@ -244,11 +244,11 @@ ConstantsObserver.prototype.onReceivedConstants = function(receivedConstants) {
Constants = receivedConstants;
- LogEventType = Constants.logEventTypes;
- LogEventTypeNames = makeInverseMap(LogEventType);
- LogEventPhase = Constants.logEventPhase;
- LogSourceType = Constants.logSourceType;
- LogSourceTypeNames = makeInverseMap(LogSourceType);
+ EventType = Constants.logEventTypes;
+ EventTypeNames = makeInverseMap(EventType);
+ EventPhase = Constants.logEventPhase;
+ EventSourceType = Constants.logSourceType;
+ EventSourceTypeNames = makeInverseMap(EventSourceType);
LogLevelType = Constants.logLevelType;
ClientInfo = Constants.clientInfo;
LoadFlag = Constants.loadFlag;
« no previous file with comments | « chrome/browser/resources/net_internals/log_view_painter.js ('k') | chrome/browser/resources/net_internals/source_entry.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698