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

Side by Side Diff: components/variations/variations_associated_data.cc

Issue 2182553002: Add other variations (with ids) for NTPSnippets to chrome://flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alexei's comment #5 + fix a bug Created 4 years, 4 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/variations/variations_associated_data.h ('k') | components/variations/variations_http_header_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698