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

Unified Diff: net/spdy/spdy_stream.cc

Issue 1059843002: Refactor NetLog::LogLevel --> NetLogCaptureMode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix some translation bugs Created 5 years, 8 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: net/spdy/spdy_stream.cc
diff --git a/net/spdy/spdy_stream.cc b/net/spdy/spdy_stream.cc
index 31aa41342d6cb970c4c454485d7b2025f49485aa..9e55f1d2714549814087f2a83049178b3a9e93fb 100644
--- a/net/spdy/spdy_stream.cc
+++ b/net/spdy/spdy_stream.cc
@@ -20,10 +20,11 @@ namespace net {
namespace {
-base::Value* NetLogSpdyStreamErrorCallback(SpdyStreamId stream_id,
- int status,
- const std::string* description,
- NetLog::LogLevel /* log_level */) {
+base::Value* NetLogSpdyStreamErrorCallback(
+ SpdyStreamId stream_id,
+ int status,
+ const std::string* description,
+ NetLogCaptureMode /* capture_mode */) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetInteger("stream_id", static_cast<int>(stream_id));
dict->SetInteger("status", status);
@@ -35,7 +36,7 @@ base::Value* NetLogSpdyStreamWindowUpdateCallback(
SpdyStreamId stream_id,
int32 delta,
int32 window_size,
- NetLog::LogLevel /* log_level */) {
+ NetLogCaptureMode /* capture_mode */) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetInteger("stream_id", stream_id);
dict->SetInteger("delta", delta);

Powered by Google App Engine
This is Rietveld 408576698