summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-16 01:05:46 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-16 01:05:46 +0000
commitb30a3f5c4fc1e62eaffa8db57bc5681665df3643 (patch)
treeb5703b6ef2d6e879473861f0d85252f813144749 /net/url_request/url_request.cc
parentfe62fc852bd3c1c162ee1f41992096f59387dc31 (diff)
downloadchromium_src-b30a3f5c4fc1e62eaffa8db57bc5681665df3643.zip
chromium_src-b30a3f5c4fc1e62eaffa8db57bc5681665df3643.tar.gz
chromium_src-b30a3f5c4fc1e62eaffa8db57bc5681665df3643.tar.bz2
Convert LOG(INFO) to VLOG(1) - net/.
Also converts COOKIE_DLOG (since VLOG can be toggled on a granular basis), removes some unneeded "endl"s and {}s, aligns "<<"s per style guide, and changes KeygenHandler::GenKeyAndSignChallenge() to avoid using "goto". BUG=none TEST=none Review URL: http://codereview.chromium.org/3846001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request.cc')
-rw-r--r--net/url_request/url_request.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index c3ce979..c8dd874 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -497,7 +497,7 @@ int URLRequest::Redirect(const GURL& location, int http_status_code) {
"location", location.possibly_invalid_spec()));
}
if (redirect_limit_ <= 0) {
- DLOG(INFO) << "disallowing redirect: exceeds limit";
+ DVLOG(1) << "disallowing redirect: exceeds limit";
return net::ERR_TOO_MANY_REDIRECTS;
}
@@ -505,7 +505,7 @@ int URLRequest::Redirect(const GURL& location, int http_status_code) {
return net::ERR_INVALID_URL;
if (!job_->IsSafeRedirect(location)) {
- DLOG(INFO) << "disallowing redirect: unsafe protocol";
+ DVLOG(1) << "disallowing redirect: unsafe protocol";
return net::ERR_UNSAFE_REDIRECT;
}