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

Side by Side Diff: media/base/key_systems_support_uma.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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 "media/base/key_systems_support_uma.h" 5 #include "media/base/key_systems_support_uma.h"
6 6
7
8 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
9 #include "media/base/key_systems.h" 8 #include "media/base/key_systems.h"
10 9
11 namespace media { 10 namespace media {
12 11
13 namespace { 12 namespace {
14 13
15 const char kKeySystemSupportUMAPrefix[] = "Media.EME.KeySystemSupport."; 14 const char kKeySystemSupportUMAPrefix[] = "Media.EME.KeySystemSupport.";
16 15
17 // These values are reported to UMA. Do not change the existing values! 16 // These values are reported to UMA. Do not change the existing values!
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 124
126 KeySystemsSupportUMA::Reporter* KeySystemsSupportUMA::GetReporter( 125 KeySystemsSupportUMA::Reporter* KeySystemsSupportUMA::GetReporter(
127 const std::string& key_system) { 126 const std::string& key_system) {
128 Reporters::iterator reporter = reporters_.find(key_system); 127 Reporters::iterator reporter = reporters_.find(key_system);
129 if (reporter == reporters_.end()) 128 if (reporter == reporters_.end())
130 return NULL; 129 return NULL;
131 return reporter->second; 130 return reporter->second;
132 } 131 }
133 132
134 } // namespace media 133 } // namespace media
OLDNEW
« no previous file with comments | « media/base/key_systems.cc ('k') | media/base/limits.h » ('j') | media/cdm/stub/stub_cdm.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698