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

Unified Diff: content/browser/field_trial_recorder.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/field_trial_recorder.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/field_trial_recorder.cc
diff --git a/chrome/browser/field_trial_recorder.cc b/content/browser/field_trial_recorder.cc
similarity index 83%
rename from chrome/browser/field_trial_recorder.cc
rename to content/browser/field_trial_recorder.cc
index 6a2e48cd82ba090f2283a9d1a3b17299cd6f05e0..2dc77e9c73ef2df0706cc09b86abaedc8f17f7ec 100644
--- a/chrome/browser/field_trial_recorder.cc
+++ b/content/browser/field_trial_recorder.cc
@@ -2,19 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/field_trial_recorder.h"
+#include "content/browser/field_trial_recorder.h"
#include "base/memory/ptr_util.h"
#include "base/metrics/field_trial.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
+namespace content {
+
FieldTrialRecorder::FieldTrialRecorder() = default;
FieldTrialRecorder::~FieldTrialRecorder() = default;
// static
-void FieldTrialRecorder::Create(
- chrome::mojom::FieldTrialRecorderRequest request) {
+void FieldTrialRecorder::Create(mojom::FieldTrialRecorderRequest request) {
mojo::MakeStrongBinding(base::MakeUnique<FieldTrialRecorder>(),
std::move(request));
}
@@ -26,3 +27,5 @@ void FieldTrialRecorder::FieldTrialActivated(const std::string& trial_name) {
// and activates the trial.
base::FieldTrialList::FindFullName(trial_name);
}
+
+} // namespce content
« no previous file with comments | « content/browser/field_trial_recorder.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698