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

Unified Diff: components/variations/variations_http_header_provider.h

Issue 366373002: [Variations] Bring variations_http_header_provider to variations component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix BUILD.gn Created 6 years, 5 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
Index: components/variations/variations_http_header_provider.h
diff --git a/chrome/browser/metrics/variations/variations_http_header_provider.h b/components/variations/variations_http_header_provider.h
similarity index 92%
rename from chrome/browser/metrics/variations/variations_http_header_provider.h
rename to components/variations/variations_http_header_provider.h
index 4b7d9a81793d7f9160eb8b0d97868dae49288051..6b477159036fd285b0796c79119f38dd0e0c5055 100644
--- a/chrome/browser/metrics/variations/variations_http_header_provider.h
+++ b/components/variations/variations_http_header_provider.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_
-#define CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_
+#ifndef COMPONENTS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_
+#define COMPONENTS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_
#include <set>
#include <string>
@@ -23,12 +23,10 @@ class HttpRequestHeaders;
}
class GURL;
-class Profile;
-class ProfileIOData;
template <typename T> struct DefaultSingletonTraits;
-namespace chrome_variations {
+namespace variations {
// A helper class for maintaining Chrome experiments and metrics state
// transmitted in custom HTTP request headers.
@@ -110,6 +108,6 @@ class VariationsHttpHeaderProvider : base::FieldTrialList::Observer {
DISALLOW_COPY_AND_ASSIGN(VariationsHttpHeaderProvider);
};
-} // namespace chrome_variations
+} // namespace variations
-#endif // CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_
+#endif // COMPONENTS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698