summaryrefslogtreecommitdiffstats
path: root/net/filter
diff options
context:
space:
mode:
authoreroman <eroman@chromium.org>2015-04-22 20:11:17 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-23 03:11:23 +0000
commit001c374c5356777641161bb11b8dd792508381ca (patch)
tree90ed1b55c3ab4a7aa3d09bb205c6e23035817d22 /net/filter
parent14ccb93f5f75f388b6a6b4a9c1eb434f61dbbfef (diff)
downloadchromium_src-001c374c5356777641161bb11b8dd792508381ca.zip
chromium_src-001c374c5356777641161bb11b8dd792508381ca.tar.gz
chromium_src-001c374c5356777641161bb11b8dd792508381ca.tar.bz2
Refactor NetLog::LogLevel --> NetLogCaptureMode.
This is both a rename, and a functional change. Before LogLevel was an enum, and consumers would compare its numeric value, or use it for serialization purposes. Whereas NetLogCaptureMode is a class that encapsulates the various capabilities for a logging level. BUG=472710 TBR=asanka@chromium.org,sergeyu@chromium.org,yurys@chromium.org,bengr@chromium.org,asargent@chromium.org,zea@chromium.org,scherkus@chromium.org Review URL: https://codereview.chromium.org/1059843002 Cr-Commit-Position: refs/heads/master@{#326440}
Diffstat (limited to 'net/filter')
-rw-r--r--net/filter/sdch_filter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/filter/sdch_filter.cc b/net/filter/sdch_filter.cc
index 6b52d8f..858e101 100644
--- a/net/filter/sdch_filter.cc
+++ b/net/filter/sdch_filter.cc
@@ -93,7 +93,7 @@ const char* ResponseCorruptionDetectionCauseToString(
base::Value* NetLogSdchResponseCorruptionDetectionCallback(
ResponseCorruptionDetectionCause cause,
bool cached,
- NetLog::LogLevel log_level) {
+ NetLogCaptureMode capture_mode) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("cause", ResponseCorruptionDetectionCauseToString(cause));
dict->SetBoolean("cached", cached);