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

Unified Diff: content/common/url_fetcher.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 | « content/common/common_param_traits.cc ('k') | content/common/url_fetcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/url_fetcher.cc
diff --git a/content/common/url_fetcher.cc b/content/common/url_fetcher.cc
index 76b5516314c148368258081924570e5e71002997..4493c0768342cc5c5eef34f4fddccb532b87ed6b 100644
--- a/content/common/url_fetcher.cc
+++ b/content/common/url_fetcher.cc
@@ -18,10 +18,10 @@
#include "base/string_util.h"
#include "base/threading/thread.h"
#include "googleurl/src/gurl.h"
-#include "net/base/load_flags.h"
+#include "net/base/host_port_pair.h"
#include "net/base/io_buffer.h"
+#include "net/base/load_flags.h"
#include "net/base/net_errors.h"
-#include "net/base/host_port_pair.h"
#include "net/http/http_request_headers.h"
#include "net/http/http_response_headers.h"
#include "net/url_request/url_request.h"
@@ -724,7 +724,7 @@ void URLFetcher::Core::RetryOrCompleteUrlFetch() {
// Checks the response from server.
if (response_code_ >= 500 ||
- status_.os_error() == net::ERR_TEMPORARILY_THROTTLED) {
+ status_.error() == net::ERR_TEMPORARILY_THROTTLED) {
// When encountering a server error, we will send the request again
// after backoff time.
++num_retries_;
« no previous file with comments | « content/common/common_param_traits.cc ('k') | content/common/url_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698