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

Unified Diff: base/threading/non_thread_safe_impl.h

Issue 10332269: RefCounted types should not have public destructors, base/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 8 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 | « base/threading/non_thread_safe.h ('k') | base/threading/non_thread_safe_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/non_thread_safe_impl.h
diff --git a/base/threading/non_thread_safe_impl.h b/base/threading/non_thread_safe_impl.h
index 4a70e34f786b7efbe897b3049ccbcceaf8d537a5..3d0e215cc221d9069c27202b76265accf2063956 100644
--- a/base/threading/non_thread_safe_impl.h
+++ b/base/threading/non_thread_safe_impl.h
@@ -19,11 +19,11 @@ namespace base {
// the right version of the class for your build configuration.
class BASE_EXPORT NonThreadSafeImpl {
public:
- ~NonThreadSafeImpl();
-
bool CalledOnValidThread() const;
protected:
+ ~NonThreadSafeImpl();
+
// Changes the thread that is checked for in CalledOnValidThread. The next
// call to CalledOnValidThread will attach this class to a new thread. It is
// up to the NonThreadSafe derived class to decide to expose this or not.
« no previous file with comments | « base/threading/non_thread_safe.h ('k') | base/threading/non_thread_safe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698