Chromium Code Reviews| Index: components/cdm/browser/cdm_message_filter_android.h |
| diff --git a/components/cdm/browser/cdm_message_filter_android.h b/components/cdm/browser/cdm_message_filter_android.h |
| index 47aa44507b430a3802896447a2c1334f9a410c19..a81bfdb940235ef9ff4efaac8766d19cce2729f6 100644 |
| --- a/components/cdm/browser/cdm_message_filter_android.h |
| +++ b/components/cdm/browser/cdm_message_filter_android.h |
| @@ -19,6 +19,7 @@ class CdmMessageFilterAndroid |
| : public content::BrowserMessageFilter { |
| public: |
| CdmMessageFilterAndroid(); |
| + CdmMessageFilterAndroid(const std::vector<std::string> key_systems); |
|
ddorwin
2014/06/10 18:48:04
explicit
Why do we need two constructors?
ycheo (away)
2014/06/11 00:08:22
I changed the code that to get key system names fr
|
| private: |
| virtual ~CdmMessageFilterAndroid(); |
| @@ -29,11 +30,15 @@ class CdmMessageFilterAndroid |
| const IPC::Message& message, |
| content::BrowserThread::ID* thread) OVERRIDE; |
| - // Retrieve the supported key systems. |
| - void OnGetSupportedKeySystems( |
| + // Retrieve the supported key system information. |
| + void OnGetSupportedKeySystem( |
| const SupportedKeySystemRequest& request, |
| SupportedKeySystemResponse* response); |
| + void OnGetAllSupportedKeySystemNames(std::vector<std::string>* key_systems); |
| + |
| + std::vector<std::string> key_systems_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(CdmMessageFilterAndroid); |
| }; |