| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_CDM_BROWSER_CDM_MESSAGE_FILTER_ANDROID_H_ | 5 #ifndef COMPONENTS_CDM_BROWSER_CDM_MESSAGE_FILTER_ANDROID_H_ |
| 6 #define COMPONENTS_CDM_BROWSER_CDM_MESSAGE_FILTER_ANDROID_H_ | 6 #define COMPONENTS_CDM_BROWSER_CDM_MESSAGE_FILTER_ANDROID_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "content/public/browser/browser_message_filter.h" | 9 #include "content/public/browser/browser_message_filter.h" |
| 10 | 10 |
| 11 struct SupportedKeySystemRequest; | 11 struct SupportedKeySystemRequest; |
| 12 struct SupportedKeySystemResponse; | 12 struct SupportedKeySystemResponse; |
| 13 | 13 |
| 14 namespace cdm { | 14 namespace cdm { |
| 15 | 15 |
| 16 // Message filter for EME on android. It is responsible for getting the | 16 // Message filter for EME on android. It is responsible for getting the |
| 17 // SupportedKeySystems information and passing it back to renderer. | 17 // SupportedKeySystems information and passing it back to renderer. |
| 18 class CdmMessageFilterAndroid | 18 class CdmMessageFilterAndroid |
| (...skipping 14 matching lines...) Expand all Loading... |
| 33 SupportedKeySystemResponse* response); | 33 SupportedKeySystemResponse* response); |
| 34 | 34 |
| 35 void OnGetPlatformKeySystemNames(std::vector<std::string>* key_systems); | 35 void OnGetPlatformKeySystemNames(std::vector<std::string>* key_systems); |
| 36 | 36 |
| 37 DISALLOW_COPY_AND_ASSIGN(CdmMessageFilterAndroid); | 37 DISALLOW_COPY_AND_ASSIGN(CdmMessageFilterAndroid); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace cdm | 40 } // namespace cdm |
| 41 | 41 |
| 42 #endif // COMPONENTS_CDM_BROWSER_CDM_MESSAGE_FILTER_ANDROID_H_ | 42 #endif // COMPONENTS_CDM_BROWSER_CDM_MESSAGE_FILTER_ANDROID_H_ |
| OLD | NEW |