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

Unified Diff: chrome/browser/local_discovery/service_discovery_host_client.cc

Issue 24181004: Remove LogInterfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/service_discovery_host_client.cc
diff --git a/chrome/browser/local_discovery/service_discovery_host_client.cc b/chrome/browser/local_discovery/service_discovery_host_client.cc
index e66e4b19601f07bba47249174e3cd6dfc6e02729..dff71adb41bfd2c16bdd8399a4e94e2b7081deec 100644
--- a/chrome/browser/local_discovery/service_discovery_host_client.cc
+++ b/chrome/browser/local_discovery/service_discovery_host_client.cc
@@ -15,21 +15,6 @@
namespace local_discovery {
-namespace {
-
-void LogInterfaces() {
- net::NetworkInterfaceList list;
- net::GetNetworkList(&list);
- std::string log;
- for (net::NetworkInterfaceList::iterator it = list.begin(); it != list.end();
- ++it) {
- log += " " + net::IPAddressToString(it->address);
- }
- VLOG(1) << "Local addresses:" << log;
-}
-
-} // namespace
-
using content::BrowserThread;
using content::UtilityProcessHost;
@@ -283,7 +268,6 @@ void ServiceDiscoveryHostClient::Restart() {
DCHECK(CalledOnValidThread());
VLOG(1) << "ServiceDiscoveryHostClient::Restart";
- LogInterfaces();
io_runner_->PostTask(
FROM_HERE,
@@ -323,7 +307,6 @@ void ServiceDiscoveryHostClient::SendOnIOThread(IPC::Message* msg) {
void ServiceDiscoveryHostClient::OnNetworkChanged(
net::NetworkChangeNotifier::ConnectionType type) {
VLOG(1) << "ServiceDiscoveryHostClient::OnNetworkChanged";
- LogInterfaces();
callback_runner_->PostDelayedTask(
FROM_HERE,
base::Bind(&ServiceDiscoveryHostClient::Restart, this),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698