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

Unified Diff: net/dns/dns_transaction.cc

Issue 1059843002: Refactor NetLog::LogLevel --> NetLogCaptureMode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update copyright 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/dns/dns_transaction.cc
diff --git a/net/dns/dns_transaction.cc b/net/dns/dns_transaction.cc
index 8c0b28ba9a9aa4440a19f68eb6cdfd8b544e8e7a..014709220af4715e0fd89823c251ed191c0c0801 100644
--- a/net/dns/dns_transaction.cc
+++ b/net/dns/dns_transaction.cc
@@ -59,8 +59,8 @@ bool IsIPLiteral(const std::string& hostname) {
}
base::Value* NetLogStartCallback(const std::string* hostname,
- uint16 qtype,
- NetLog::LogLevel /* log_level */) {
+ uint16 qtype,
+ NetLogCaptureMode /* capture_mode */) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("hostname", *hostname);
dict->SetInteger("query_type", qtype);
@@ -98,7 +98,7 @@ class DnsAttempt {
// Returns a Value representing the received response, along with a reference
// to the NetLog source source of the UDP socket used. The request must have
// completed before this is called.
- base::Value* NetLogResponseCallback(NetLog::LogLevel log_level) const {
+ base::Value* NetLogResponseCallback(NetLogCaptureMode capture_mode) const {
DCHECK(GetResponse()->IsValid());
base::DictionaryValue* dict = new base::DictionaryValue();

Powered by Google App Engine
This is Rietveld 408576698