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

Unified Diff: net/base/host_resolver.h

Issue 150001: Ensure that even if the HostResolver outlives the IO thread, its jobs will no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/net/dns_global.cc ('k') | net/base/host_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_resolver.h
===================================================================
--- net/base/host_resolver.h (revision 19453)
+++ net/base/host_resolver.h (working copy)
@@ -162,6 +162,9 @@
// Unregisters an observer previously added by AddObserver().
void RemoveObserver(Observer* observer);
+ // TODO(eroman): temp hack for http://crbug.com/15513
+ void Shutdown();
+
private:
class Job;
typedef std::vector<Request*> RequestsList;
@@ -210,6 +213,9 @@
// Observers are the only consumers of this ID number.
int next_request_id_;
+ // TODO(eroman): temp hack for http://crbug.com/15513
+ bool shutdown_;
+
DISALLOW_COPY_AND_ASSIGN(HostResolver);
};
« no previous file with comments | « chrome/browser/net/dns_global.cc ('k') | net/base/host_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698