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

Unified Diff: components/variations/child_process_field_trial_syncer.cc

Issue 2514593002: Field trial synchronization to PPAPI process. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: components/variations/child_process_field_trial_syncer.cc
diff --git a/chrome/common/variations/child_process_field_trial_syncer.cc b/components/variations/child_process_field_trial_syncer.cc
similarity index 90%
rename from chrome/common/variations/child_process_field_trial_syncer.cc
rename to components/variations/child_process_field_trial_syncer.cc
index d559b1f745edbf8dc38d56d500028723aab86ec9..bc24a264d285491bd34011dc4eb8f027f9c6747c 100644
--- a/chrome/common/variations/child_process_field_trial_syncer.cc
+++ b/components/variations/child_process_field_trial_syncer.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/variations/child_process_field_trial_syncer.h"
+#include "components/variations/child_process_field_trial_syncer.h"
#include <set>
#include <utility>
@@ -11,7 +11,7 @@
#include "base/command_line.h"
#include "components/variations/variations_util.h"
-namespace chrome_variations {
+namespace variations {
ChildProcessFieldTrialSyncer::ChildProcessFieldTrialSyncer(
base::FieldTrialList::Observer* observer)
@@ -22,7 +22,7 @@ ChildProcessFieldTrialSyncer::~ChildProcessFieldTrialSyncer() {}
void ChildProcessFieldTrialSyncer::InitFieldTrialObserving(
const base::CommandLine& command_line) {
// Set up initial set of crash dump data for field trials in this process.
- variations::SetVariationListCrashKeys();
+ SetVariationListCrashKeys();
// Listen for field trial activations to report them to the browser.
base::FieldTrialList::AddObserver(observer_);
@@ -55,7 +55,7 @@ void ChildProcessFieldTrialSyncer::OnSetFieldTrialGroup(
// Ensure the trial is marked as "used" by calling group() on it if it is
// marked as activated.
trial->group();
- variations::SetVariationListCrashKeys();
+ SetVariationListCrashKeys();
}
-} // namespace chrome_variations
+} // namespace variations

Powered by Google App Engine
This is Rietveld 408576698