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

Unified Diff: components/variations/synthetic_trials.cc

Issue 1530133005: Refactor VariationsHttpHeaderProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing include to srt_fetcher_win.cc. Created 5 years 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 | « components/variations/synthetic_trials.h ('k') | components/variations/variations_http_header_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/synthetic_trials.cc
diff --git a/components/variations/variations_url_constants.h b/components/variations/synthetic_trials.cc
similarity index 50%
copy from components/variations/variations_url_constants.h
copy to components/variations/synthetic_trials.cc
index ffff0dcaa7490f6777db374b1fad5fe8171bec16..228ca44387a0135152bb1c1a8768ac5ae89416d7 100644
--- a/components/variations/variations_url_constants.h
+++ b/components/variations/synthetic_trials.cc
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_VARIATIONS_VARIATIONS_URL_CONSTANTS_H_
-#define COMPONENTS_VARIATIONS_VARIATIONS_URL_CONSTANTS_H_
+#include "components/variations/synthetic_trials.h"
namespace variations {
-extern const char kDefaultServerUrl[];
+SyntheticTrialGroup::SyntheticTrialGroup(uint32_t trial, uint32_t group) {
+ id.name = trial;
+ id.group = group;
+}
-} // namespace variations
+SyntheticTrialGroup::~SyntheticTrialGroup() {}
-#endif // COMPONENTS_VARIATIONS_VARIATIONS_URL_CONSTANTS_H_
+} // namespace variations
« no previous file with comments | « components/variations/synthetic_trials.h ('k') | components/variations/variations_http_header_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698