diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-26 06:23:00 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-26 06:23:00 +0000 |
commit | cb932487f6e6f8768da2030662dcd91929f4df0b (patch) | |
tree | 4563fa67fbafbf8e979e0c69024637b5badd9ec2 /base/threading/non_thread_safe_impl.h | |
parent | 3f9bfdac19db30a0a424e21d254f869eafaeb4ac (diff) | |
download | chromium_src-cb932487f6e6f8768da2030662dcd91929f4df0b.zip chromium_src-cb932487f6e6f8768da2030662dcd91929f4df0b.tar.gz chromium_src-cb932487f6e6f8768da2030662dcd91929f4df0b.tar.bz2 |
RefCounted types should not have public destructors, base/ edition
BUG=123295
TEST=it compiles
Review URL: https://chromiumcodereview.appspot.com/10332269
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading/non_thread_safe_impl.h')
-rw-r--r-- | base/threading/non_thread_safe_impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/threading/non_thread_safe_impl.h b/base/threading/non_thread_safe_impl.h index 4a70e34..71faeb2 100644 --- a/base/threading/non_thread_safe_impl.h +++ b/base/threading/non_thread_safe_impl.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -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. |