Index: net/log/net_log_util.cc |
diff --git a/net/log/net_log_util.cc b/net/log/net_log_util.cc |
index ccaaf227355e538ee0f1f0906ef15feb778702be..f9983b08daa430f230254c2f6e8e17f091933d97 100644 |
--- a/net/log/net_log_util.cc |
+++ b/net/log/net_log_util.cc |
@@ -129,7 +129,7 @@ bool RequestCreatedBefore(const net::URLRequest* request1, |
// Returns a Value representing the state of a pre-existing URLRequest when |
// net-internals was opened. |
base::Value* GetRequestStateAsValue(const net::URLRequest* request, |
- net::NetLog::LogLevel log_level) { |
+ net::NetLogCaptureMode capture_mode) { |
return request->GetStateAsValue(); |
} |
@@ -260,10 +260,10 @@ scoped_ptr<base::DictionaryValue> GetNetConstants() { |
{ |
base::DictionaryValue* dict = new base::DictionaryValue(); |
- dict->SetInteger("LOG_ALL", net::NetLog::LOG_ALL); |
- dict->SetInteger("LOG_ALL_BUT_BYTES", net::NetLog::LOG_ALL_BUT_BYTES); |
+ dict->SetInteger("LOG_ALL", NetLogCaptureMode::ALL); |
+ dict->SetInteger("LOG_ALL_BUT_BYTES", NetLogCaptureMode::ALL_BUT_BYTES); |
dict->SetInteger("LOG_STRIP_PRIVATE_DATA", |
- net::NetLog::LOG_STRIP_PRIVATE_DATA); |
+ NetLogCaptureMode::STRIP_PRIVATE_DATA); |
constants_dict->Set("logLevelType", dict); |
} |
@@ -555,7 +555,7 @@ NET_EXPORT void CreateNetLogEntriesForActiveObjects( |
net::NetLog::EntryData entry_data( |
net::NetLog::TYPE_REQUEST_ALIVE, request->net_log().source(), |
net::NetLog::PHASE_BEGIN, request->creation_time(), &callback); |
- NetLog::Entry entry(&entry_data, request->net_log().GetLogLevel()); |
+ NetLog::Entry entry(&entry_data, request->net_log().GetCaptureMode()); |
observer->OnAddEntry(entry); |
} |
} |