OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_METRICS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_ |
6 #define CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_ | 6 #define CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/metrics/field_trial.h" | 13 #include "base/metrics/field_trial.h" |
14 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
15 #include "chrome/common/metrics/variations/variations_associated_data.h" | 15 #include "components/variations/variations_associated_data.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class ResourceContext; | 18 class ResourceContext; |
19 } | 19 } |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 class HttpRequestHeaders; | 22 class HttpRequestHeaders; |
23 } | 23 } |
24 | 24 |
25 class GURL; | 25 class GURL; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // This consists of a list of valid IDs, and the actual transmitted header. | 87 // This consists of a list of valid IDs, and the actual transmitted header. |
88 std::set<chrome_variations::VariationID> variation_ids_set_; | 88 std::set<chrome_variations::VariationID> variation_ids_set_; |
89 std::string variation_ids_header_; | 89 std::string variation_ids_header_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(VariationsHttpHeaderProvider); | 91 DISALLOW_COPY_AND_ASSIGN(VariationsHttpHeaderProvider); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace chrome_variations | 94 } // namespace chrome_variations |
95 | 95 |
96 #endif // CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_ | 96 #endif // CHROME_BROWSER_METRICS_VARIATIONS_VARIATIONS_HTTP_HEADER_PROVIDER_H_ |
OLD | NEW |