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

Unified Diff: chrome/browser/ui/webui/net_internals/net_internals_ui.cc

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: remvoe owners. dunno why it was there... 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/ui/webui/net_internals/net_internals_ui.cc
diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
index d03f19ff3fe3f08cd4c8b4874f7bbc09044d633d..a0e7774cd15e5ceb42fbbde4fbcd342bd5712d20 100644
--- a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
+++ b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
@@ -1612,7 +1612,7 @@ Value* NetInternalsUI::GetConstants() {
// Add a dictionary with information on the relationship between event type
// enums and their symbolic names.
- constants_dict->Set("logEventTypes", net::NetLog::GetEventTypesAsValue());
+ constants_dict->Set("eventType", net::NetLog::GetEventTypesAsValue());
// Add a dictionary with the version of the client and its command line
// arguments.
@@ -1676,12 +1676,12 @@ Value* NetInternalsUI::GetConstants() {
dict->SetInteger("PHASE_END", net::NetLog::PHASE_END);
dict->SetInteger("PHASE_NONE", net::NetLog::PHASE_NONE);
- constants_dict->Set("logEventPhase", dict);
+ constants_dict->Set("eventPhase", dict);
}
// Information about the relationship between source type enums and
// their symbolic names.
- constants_dict->Set("logSourceType", net::NetLog::GetSourceTypesAsValue());
+ constants_dict->Set("sourceType", net::NetLog::GetSourceTypesAsValue());
// Information about the relationship between LogLevel enums and their
// symbolic names.

Powered by Google App Engine
This is Rietveld 408576698