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 #ifndef CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_INFO_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_INFO_H_ |
6 #define CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_INFO_H_ | 6 #define CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace WebKit { | 10 namespace blink { |
11 class WebString; | 11 class WebString; |
12 } | 12 } |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 // Returns the name that UMA will use for the given |key_system|. | 16 // Returns the name that UMA will use for the given |key_system|. |
17 // This function can be called frequently. Hence this function should be | 17 // This function can be called frequently. Hence this function should be |
18 // implemented not to impact performance and does not rely on the main | 18 // implemented not to impact performance and does not rely on the main |
19 // key system map. | 19 // key system map. |
20 std::string KeySystemNameForUMAInternal(const WebKit::WebString& key_system); | 20 std::string KeySystemNameForUMAInternal(const blink::WebString& key_system); |
21 | 21 |
22 } // namespace content | 22 } // namespace content |
23 | 23 |
24 #endif // CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_INFO_H_ | 24 #endif // CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_INFO_H_ |
OLD | NEW |