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

Unified Diff: chrome/browser/safe_browsing/protocol_manager.cc

Issue 7846007: net: Rename URLRequestStatus::os_error_. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix os_error_code Created 9 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 | « chrome/browser/safe_browsing/malware_details_cache.cc ('k') | chrome/browser/sync/glue/http_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/protocol_manager.cc
diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc
index f412b04159ce0835c72a4e4f83d6b867ceab44f8..87e705e64f60edc501628682ef97edf0d495393f 100644
--- a/chrome/browser/safe_browsing/protocol_manager.cc
+++ b/chrome/browser/safe_browsing/protocol_manager.cc
@@ -12,8 +12,8 @@
#include "base/metrics/histogram.h"
#include "base/rand_util.h"
#include "base/stl_util.h"
-#include "base/stringprintf.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/task.h"
#include "base/timer.h"
#include "chrome/browser/safe_browsing/protocol_parser.h"
@@ -264,7 +264,7 @@ void SafeBrowsingProtocolManager::OnURLFetchComplete(
HandleGetHashError(Time::Now());
if (status.status() == net::URLRequestStatus::FAILED) {
VLOG(1) << "SafeBrowsing GetHash request for: " << source->url()
- << " failed with os error: " << status.os_error();
+ << " failed with error: " << status.error();
} else {
VLOG(1) << "SafeBrowsing GetHash request for: " << source->url()
<< " failed with error: " << response_code;
@@ -338,7 +338,7 @@ void SafeBrowsingProtocolManager::OnURLFetchComplete(
UpdateFinished(false);
if (status.status() == net::URLRequestStatus::FAILED) {
VLOG(1) << "SafeBrowsing request for: " << source->url()
- << " failed with os error: " << status.os_error();
+ << " failed with error: " << status.error();
} else {
VLOG(1) << "SafeBrowsing request for: " << source->url()
<< " failed with error: " << response_code;
« no previous file with comments | « chrome/browser/safe_browsing/malware_details_cache.cc ('k') | chrome/browser/sync/glue/http_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698