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

Unified Diff: chrome/test/data/webui/net_internals/net_internals_test.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/test/data/webui/net_internals/net_internals_test.js
diff --git a/chrome/test/data/webui/net_internals/net_internals_test.js b/chrome/test/data/webui/net_internals/net_internals_test.js
index 5293825347e5a4bb90728d8f5c95ab4acca2e6e6..fbeb2b77375572ecad348750b9c2645bcb728687 100644
--- a/chrome/test/data/webui/net_internals/net_internals_test.js
+++ b/chrome/test/data/webui/net_internals/net_internals_test.js
@@ -597,7 +597,7 @@ var NetInternalsTest = (function() {
* @constructor
*/
NetInternalsTest.Source = function(type, id) {
- assertNotEquals(getKeyWithValue(LogSourceType, type), '?');
+ assertNotEquals(getKeyWithValue(EventSourceType, type), '?');
assertGE(id, 0);
this.type = type;
this.id = id;
@@ -613,8 +613,8 @@ var NetInternalsTest = (function() {
* @constructor
*/
NetInternalsTest.Event = function(source, type, time, phase, params) {
- assertNotEquals(getKeyWithValue(LogEventType, type), '?');
- assertNotEquals(getKeyWithValue(LogEventPhase, phase), '?');
+ assertNotEquals(getKeyWithValue(EventType, type), '?');
+ assertNotEquals(getKeyWithValue(EventPhase, phase), '?');
this.source = source;
this.phase = phase;
@@ -632,7 +632,7 @@ var NetInternalsTest = (function() {
*/
NetInternalsTest.createBeginEvent = function(source, type, time, params) {
return new NetInternalsTest.Event(source, type, time,
- LogEventPhase.PHASE_BEGIN, params);
+ EventPhase.PHASE_BEGIN, params);
};
/**
@@ -642,7 +642,7 @@ var NetInternalsTest = (function() {
*/
NetInternalsTest.createEndEvent = function(source, type, time, params) {
return new NetInternalsTest.Event(source, type, time,
- LogEventPhase.PHASE_END, params);
+ EventPhase.PHASE_END, params);
};
/**
« no previous file with comments | « chrome/test/data/webui/net_internals/log_view_painter.js ('k') | chrome/test/data/webui/net_internals/timeline_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698