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

Unified Diff: chrome/browser/sync/notifier/base/async_dns_lookup.cc

Issue 225001: Use base/logging from chrome/browser/sync. Add a macro to libjingle's (Closed)
Patch Set: Added README.chromium Created 11 years, 3 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: chrome/browser/sync/notifier/base/async_dns_lookup.cc
diff --git a/chrome/browser/sync/notifier/base/async_dns_lookup.cc b/chrome/browser/sync/notifier/base/async_dns_lookup.cc
index ca3952500d4dbe7d815a5239ca6b910f1d469333..a9fcd0c4b56b7e8f6fa7fe89b11523e81d608cb3 100644
--- a/chrome/browser/sync/notifier/base/async_dns_lookup.cc
+++ b/chrome/browser/sync/notifier/base/async_dns_lookup.cc
@@ -15,11 +15,11 @@
#include <vector>
+#include "base/logging.h"
#include "chrome/browser/sync/notifier/base/nethelpers.h"
#include "chrome/browser/sync/notifier/gaia_auth/inet_aton.h"
#include "talk/base/byteorder.h"
#include "talk/base/common.h"
-#include "talk/base/logging.h"
#include "talk/base/socketaddress.h"
#include "talk/base/thread.h"
@@ -49,7 +49,7 @@ void AsyncDNSLookup::DoWork() {
talk_base::CritScope scope(&cs_);
ip_list_.push_back(talk_base::NetworkToHost32(addr.s_addr));
} else {
- LOG_F(LS_VERBOSE) << "(" << hostname << ")";
+ LOG(INFO) << "(" << hostname << ")";
hostent ent;
char buffer[8192];
int errcode = 0;
@@ -68,8 +68,8 @@ void AsyncDNSLookup::DoWork() {
break;
}
uint32 ip = talk_base::NetworkToHost32(*addr);
- LOG_F(LS_VERBOSE) << "(" << hostname << ") resolved to: "
- << talk_base::SocketAddress::IPToString(ip);
+ LOG(INFO) << "(" << hostname << ") resolved to: "
+ << talk_base::SocketAddress::IPToString(ip);
ip_list_.push_back(ip);
}
// Maintain the invariant that either the list is not empty or the
@@ -88,7 +88,7 @@ void AsyncDNSLookup::DoWork() {
error_ = errcode;
}
}
- LOG_F(LS_ERROR) << "(" << hostname << ") error: " << error_;
+ LOG(ERROR) << "(" << hostname << ") error: " << error_;
}
}
}

Powered by Google App Engine
This is Rietveld 408576698