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

Side by Side Diff: content/browser/field_trial_recorder.h

Issue 2732213004: Move FieldTrialRecorder mojom to content (Closed)
Patch Set: initialize FieldTrialList for RenderThreadImplBrowserTest Created 3 years, 9 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/field_trial_recorder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_FIELD_TRIAL_RECORDER_H_ 5 #ifndef CONTENT_BROWSER_FIELD_TRIAL_RECORDER_H_
6 #define CHROME_BROWSER_FIELD_TRIAL_RECORDER_H_ 6 #define CONTENT_BROWSER_FIELD_TRIAL_RECORDER_H_
7 7
8 #include "base/threading/thread_checker.h" 8 #include "base/threading/thread_checker.h"
9 #include "chrome/common/field_trial_recorder.mojom.h" 9 #include "content/common/field_trial_recorder.mojom.h"
10 10
11 class FieldTrialRecorder : public chrome::mojom::FieldTrialRecorder { 11 namespace content {
12
13 class FieldTrialRecorder : public mojom::FieldTrialRecorder {
12 public: 14 public:
13 FieldTrialRecorder(); 15 FieldTrialRecorder();
14 ~FieldTrialRecorder() override; 16 ~FieldTrialRecorder() override;
15 17
16 static void Create(chrome::mojom::FieldTrialRecorderRequest request); 18 static void Create(mojom::FieldTrialRecorderRequest request);
17 19
18 private: 20 private:
19 // chrome::mojom::FieldTrialRecorder: 21 // content::mojom::FieldTrialRecorder:
20 void FieldTrialActivated(const std::string& trial_name) override; 22 void FieldTrialActivated(const std::string& trial_name) override;
21 23
22 base::ThreadChecker thread_checker_; 24 base::ThreadChecker thread_checker_;
23 25
24 DISALLOW_COPY_AND_ASSIGN(FieldTrialRecorder); 26 DISALLOW_COPY_AND_ASSIGN(FieldTrialRecorder);
25 }; 27 };
26 28
27 #endif // CHROME_BROWSER_FIELD_TRIAL_RECORDER_H_ 29 } // namespace content
30
31 #endif // CONTENT_BROWSER_FIELD_TRIAL_RECORDER_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/field_trial_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698