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

Unified Diff: net/base/host_resolver.h

Issue 215011: Fixed a few data races on reference counters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
Index: net/base/host_resolver.h
===================================================================
--- net/base/host_resolver.h (revision 26451)
+++ net/base/host_resolver.h (working copy)
@@ -28,7 +28,7 @@
// request at a time is to create a SingleRequestHostResolver wrapper around
// HostResolver (which will automatically cancel the single request when it
// goes out of scope).
-class HostResolver : public base::RefCounted<HostResolver> {
+class HostResolver : public base::RefCountedThreadSafe<HostResolver> {
public:
// The parameters for doing a Resolve(). |hostname| and |port| are required,
// the rest are optional (and have reasonable defaults).
« chrome/browser/extensions/user_script_master.h ('K') | « chrome/browser/history/history_marshaling.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698