summaryrefslogtreecommitdiffstats
path: root/base/lazy_instance.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-16 20:38:42 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-16 20:38:42 +0000
commit4e7395b4167738538b51f4884cc7c2eacf226752 (patch)
treeb6281c011f28b9f95e860c7f9548ac4f05730a98 /base/lazy_instance.h
parenta9add880aab37473c810b10bf0165575c547b5d8 (diff)
downloadchromium_src-4e7395b4167738538b51f4884cc7c2eacf226752.zip
chromium_src-4e7395b4167738538b51f4884cc7c2eacf226752.tar.gz
chromium_src-4e7395b4167738538b51f4884cc7c2eacf226752.tar.bz2
Remove test isolation enforcement code.
I think it was a failed experiment, and it only ever worked for base_unittests. This removes some potentially risky code from LazyInstance that was only needed for the test isolation. The lesson from this experiment is that removing singletons works better than trying to make tests work fine even when singletons are overused. TEST=none BUG=12710 Review URL: http://codereview.chromium.org/3127012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56229 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/lazy_instance.h')
-rw-r--r--base/lazy_instance.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/base/lazy_instance.h b/base/lazy_instance.h
index 57f8aeb5..52a5124 100644
--- a/base/lazy_instance.h
+++ b/base/lazy_instance.h
@@ -81,10 +81,6 @@ class LazyInstanceHelper {
base::subtle::Atomic32 state_;
private:
- // Resets state of |helper| to STATE_EMPTY so that it can be reused.
- // Not thread safe.
- static void ResetState(void* helper);
-
DISALLOW_COPY_AND_ASSIGN(LazyInstanceHelper);
};