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

Unified Diff: net/base/host_resolver_impl.h

Issue 11464028: Introduce ERR_NETWORK_CHANGED and allow URLFetcher to automatically retry on that error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, post first try if online, more tests Created 8 years 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
Index: net/base/host_resolver_impl.h
diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h
index 8d28ab37939e021fa277818a9b558fa3fffb1e59..3f7a271d9f60882d4b0175a3cc81541963e182b8 100644
--- a/net/base/host_resolver_impl.h
+++ b/net/base/host_resolver_impl.h
@@ -207,9 +207,9 @@ class NET_EXPORT HostResolverImpl
// Removes |job| from |jobs_|, only if it exists.
void RemoveJob(Job* job);
- // Aborts all in progress jobs and notifies their requests.
- // Might start new jobs.
- void AbortAllInProgressJobs();
+ // Aborts all in progress jobs with the given |error| and notifies their
+ // requests. Might start new jobs.
+ void AbortAllInProgressJobs(int error);
szym 2012/12/10 18:36:31 This is only called on network changes, so only wi
Joao da Silva 2012/12/11 13:36:43 Done.
// Attempts to serve each Job in |jobs_| from the HOSTS file if we have
// a DnsClient with a valid DnsConfig.

Powered by Google App Engine
This is Rietveld 408576698