| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "components/variations/variations_associated_data.h" | 5 #include "components/variations/variations_associated_data.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/feature_list.h" | 11 #include "base/feature_list.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
| 14 #include "base/strings/string_split.h" |
| 15 #include "components/variations/variations_http_header_provider.h" |
| 14 | 16 |
| 15 namespace variations { | 17 namespace variations { |
| 16 | 18 |
| 17 namespace { | 19 namespace { |
| 18 | 20 |
| 19 const char kGroupTesting[] = "Testing"; | 21 const char kGroupTesting[] = "Testing"; |
| 20 | 22 |
| 21 // The internal singleton accessor for the map, used to keep it thread-safe. | 23 // The internal singleton accessor for the map, used to keep it thread-safe. |
| 22 class GroupMapAccessor { | 24 class GroupMapAccessor { |
| 23 public: | 25 public: |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 GroupMapAccessor::GetInstance()->ClearAllMapsForTesting(); | 280 GroupMapAccessor::GetInstance()->ClearAllMapsForTesting(); |
| 279 } | 281 } |
| 280 | 282 |
| 281 void ClearAllVariationParams() { | 283 void ClearAllVariationParams() { |
| 282 VariationsParamAssociator::GetInstance()->ClearAllParamsForTesting(); | 284 VariationsParamAssociator::GetInstance()->ClearAllParamsForTesting(); |
| 283 } | 285 } |
| 284 | 286 |
| 285 } // namespace testing | 287 } // namespace testing |
| 286 | 288 |
| 287 } // namespace variations | 289 } // namespace variations |
| OLD | NEW |