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

Unified Diff: third_party/WebKit/Source/platform/Logging.cpp

Issue 2240053002: Replace WTF_LOG() with NETWORK_DVLOG() or RESOURCE_LOADING_DVLOG(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sstream, EXPECT_STREQ Created 4 years, 4 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: third_party/WebKit/Source/platform/Logging.cpp
diff --git a/third_party/WebKit/Source/platform/Logging.cpp b/third_party/WebKit/Source/platform/Logging.cpp
index 8e33e7e23adeac5999064f2022ffd87556d104e4..830ffdbdb9538df6ab98c2de707d6e134999c752 100644
--- a/third_party/WebKit/Source/platform/Logging.cpp
+++ b/third_party/WebKit/Source/platform/Logging.cpp
@@ -31,20 +31,8 @@
namespace blink {
-WTFLogChannel LogNetwork = { WTFLogChannelOff };
-WTFLogChannel LogResourceLoading = { WTFLogChannelOff };
-
WTFLogChannel* getChannelFromName(const String& channelName)
{
- if (!(channelName.length() >= 2))
- return 0;
-
- if (equalIgnoringCase(channelName, String("Network")))
- return &LogNetwork;
-
- if (equalIgnoringCase(channelName, String("ResourceLoading")))
- return &LogResourceLoading;
-
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698