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

Side by Side Diff: chrome/browser/metrics/field_trial_synchronizer.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_METRICS_FIELD_TRIAL_SYNCHRONIZER_H_ 5 #ifndef CHROME_BROWSER_METRICS_FIELD_TRIAL_SYNCHRONIZER_H_
6 #define CHROME_BROWSER_METRICS_FIELD_TRIAL_SYNCHRONIZER_H_ 6 #define CHROME_BROWSER_METRICS_FIELD_TRIAL_SYNCHRONIZER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/metrics/field_trial.h" 13 #include "base/metrics/field_trial.h"
14 14
15 // This class is used by the browser process to communicate FieldTrial setting 15 // This class is used by the browser process to communicate FieldTrial setting
16 // (field trial name and group) to any previously started renderers. 16 // (field trial name and group) to any previously started renderers.
17 // 17 //
18 // This class registers itself as an observer of FieldTrialList. FieldTrialList 18 // This class registers itself as an observer of FieldTrialList. FieldTrialList
19 // notifies this class by calling it's OnFieldTrialGroupFinalized method when a 19 // notifies this class by calling it's OnFieldTrialGroupFinalized method when a
20 // group is selected (finalized) for a FieldTrial and OnFieldTrialGroupFinalized 20 // group is selected (finalized) for a FieldTrial and OnFieldTrialGroupFinalized
21 // method sends the FieldTrial's name and the group to all renderer processes. 21 // method sends the FieldTrial's name and the group to all renderer processes.
(...skipping 27 matching lines...) Expand all
49 const std::string& group_name) override; 49 const std::string& group_name) override;
50 50
51 private: 51 private:
52 friend class base::RefCountedThreadSafe<FieldTrialSynchronizer>; 52 friend class base::RefCountedThreadSafe<FieldTrialSynchronizer>;
53 ~FieldTrialSynchronizer() override; 53 ~FieldTrialSynchronizer() override;
54 54
55 DISALLOW_COPY_AND_ASSIGN(FieldTrialSynchronizer); 55 DISALLOW_COPY_AND_ASSIGN(FieldTrialSynchronizer);
56 }; 56 };
57 57
58 #endif // CHROME_BROWSER_METRICS_FIELD_TRIAL_SYNCHRONIZER_H_ 58 #endif // CHROME_BROWSER_METRICS_FIELD_TRIAL_SYNCHRONIZER_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/extensions_metrics_provider_unittest.cc ('k') | chrome/browser/metrics/first_web_contents_profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698