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

Unified Diff: base/memory/ref_counted.h

Issue 10836116: Purge ImplementsThreadSafeReferenceCounting() from the codebase now that Task is dead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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 | « no previous file | chrome/test/base/view_event_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/ref_counted.h
diff --git a/base/memory/ref_counted.h b/base/memory/ref_counted.h
index 255ede55e79c3a87a17e11bdd338ae5c03fe8be7..35f515d23b8aed446d25882d77dc12b3858967f5 100644
--- a/base/memory/ref_counted.h
+++ b/base/memory/ref_counted.h
@@ -17,8 +17,6 @@ namespace subtle {
class BASE_EXPORT RefCountedBase {
public:
- static bool ImplementsThreadSafeReferenceCounting() { return false; }
-
bool HasOneRef() const { return ref_count_ == 1; }
protected:
@@ -43,8 +41,6 @@ class BASE_EXPORT RefCountedBase {
class BASE_EXPORT RefCountedThreadSafeBase {
public:
- static bool ImplementsThreadSafeReferenceCounting() { return true; }
-
bool HasOneRef() const;
protected:
« no previous file with comments | « no previous file | chrome/test/base/view_event_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698