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

Unified Diff: base/field_trial.h

Issue 18535: Decrements FieldTrialList::constructor_count_ in the destructor. I'm... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | base/field_trial.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/field_trial.h
===================================================================
--- base/field_trial.h (revision 8409)
+++ base/field_trial.h (working copy)
@@ -80,11 +80,7 @@
private:
typedef std::map<std::wstring, FieldTrial*> RegistrationList;
- friend class FieldTrialTest;
- static void ResetConstructorCountForTestingOnly() { constructor_count_ = 0; }
-
static FieldTrialList* global_; // The singleton of this class.
- static int constructor_count_; // Prevent having more than one.
base::Time application_start_time_;
RegistrationList registered_;
« no previous file with comments | « no previous file | base/field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698