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

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

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/macros.h"
11 #include "base/memory/singleton.h" 12 #include "base/memory/singleton.h"
12 13
13 namespace variations { 14 namespace variations {
14 15
15 namespace { 16 namespace {
16 17
17 // The internal singleton accessor for the map, used to keep it thread-safe. 18 // The internal singleton accessor for the map, used to keep it thread-safe.
18 class GroupMapAccessor { 19 class GroupMapAccessor {
19 public: 20 public:
20 typedef std::map<ActiveGroupId, VariationID, ActiveGroupIdCompare> 21 typedef std::map<ActiveGroupId, VariationID, ActiveGroupIdCompare>
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 GroupMapAccessor::GetInstance()->ClearAllMapsForTesting(); 229 GroupMapAccessor::GetInstance()->ClearAllMapsForTesting();
229 } 230 }
230 231
231 void ClearAllVariationParams() { 232 void ClearAllVariationParams() {
232 VariationsParamAssociator::GetInstance()->ClearAllParamsForTesting(); 233 VariationsParamAssociator::GetInstance()->ClearAllParamsForTesting();
233 } 234 }
234 235
235 } // namespace testing 236 } // namespace testing
236 237
237 } // namespace variations 238 } // namespace variations
OLDNEW
« no previous file with comments | « components/variations/synthetic_trials.h ('k') | components/variations/variations_associated_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698