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

Unified Diff: remoting/host/dns_blackhole_checker.cc

Issue 86523005: Replace all usage of LOG(INFO) in Chromoting host with HOST_LOG to bypass the presubmit check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « remoting/host/desktop_resizer_mac.cc ('k') | remoting/host/heartbeat_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/dns_blackhole_checker.cc
diff --git a/remoting/host/dns_blackhole_checker.cc b/remoting/host/dns_blackhole_checker.cc
index d7f48e3d2a1fdb81c0c3eab764463f46a7ee819f..37ed0aefd63d6c549ac2f1b808f566a2a0693921 100644
--- a/remoting/host/dns_blackhole_checker.cc
+++ b/remoting/host/dns_blackhole_checker.cc
@@ -6,6 +6,7 @@
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_context_getter.h"
+#include "remoting/base/logging.h"
#include "url/gurl.h"
namespace remoting {
@@ -33,10 +34,10 @@ void DnsBlackholeChecker::OnURLFetchComplete(const net::URLFetcher* source) {
int response = source->GetResponseCode();
bool allow = false;
if (source->GetResponseCode() == 200) {
- LOG(INFO) << "Successfully connected to host talkgadget.";
+ HOST_LOG << "Successfully connected to host talkgadget.";
allow = true;
} else {
- LOG(INFO) << "Unable to connect to host talkgadget (" << response << ")";
+ HOST_LOG << "Unable to connect to host talkgadget (" << response << ")";
}
url_fetcher_.reset(NULL);
callback_.Run(allow);
@@ -56,13 +57,13 @@ void DnsBlackholeChecker::CheckForDnsBlackhole(
talkgadget_url += talkgadget_prefix_;
}
talkgadget_url += kTalkGadgetUrl;
- LOG(INFO) << "Verifying connection to " << talkgadget_url;
+ HOST_LOG << "Verifying connection to " << talkgadget_url;
url_fetcher_.reset(net::URLFetcher::Create(GURL(talkgadget_url),
net::URLFetcher::GET, this));
url_fetcher_->SetRequestContext(url_request_context_getter_.get());
url_fetcher_->Start();
} else {
- LOG(INFO) << "Pending connection check";
+ HOST_LOG << "Pending connection check";
}
}
« no previous file with comments | « remoting/host/desktop_resizer_mac.cc ('k') | remoting/host/heartbeat_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698