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

Unified Diff: net/url_request/url_request_throttler_entry_interface.h

Issue 5364003: Make URLRequestThrottlerEntryInterface inherit RefCountedThreadSafe, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add friend. Created 10 years, 1 month 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 | « no previous file | tools/valgrind/tsan/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_throttler_entry_interface.h
diff --git a/net/url_request/url_request_throttler_entry_interface.h b/net/url_request/url_request_throttler_entry_interface.h
index 616e1d0dcd5fa6f1e9f4087f9e90f1403fa9d111..f443b2934b94b3bb7265d78f66028696c92a523d 100644
--- a/net/url_request/url_request_throttler_entry_interface.h
+++ b/net/url_request/url_request_throttler_entry_interface.h
@@ -15,7 +15,7 @@ class URLRequestThrottlerHeaderInterface;
// Interface provided on entries of the URL request throttler manager.
class URLRequestThrottlerEntryInterface
- : public base::RefCounted<URLRequestThrottlerEntryInterface> {
+ : public base::RefCountedThreadSafe<URLRequestThrottlerEntryInterface> {
public:
URLRequestThrottlerEntryInterface() {}
@@ -51,6 +51,7 @@ class URLRequestThrottlerEntryInterface
virtual void ReceivedContentWasMalformed() = 0;
protected:
+ friend class base::RefCountedThreadSafe<URLRequestThrottlerEntryInterface>;
virtual ~URLRequestThrottlerEntryInterface() {}
private:
« no previous file with comments | « no previous file | tools/valgrind/tsan/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698