| Index: chrome/renderer/chrome_content_renderer_client.cc
|
| diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
|
| index 4a76b19e8546e08744740d2c55b745c33ccf0013..c301439bc9f65ffe2f1836a810901e96cf5b6689 100644
|
| --- a/chrome/renderer/chrome_content_renderer_client.cc
|
| +++ b/chrome/renderer/chrome_content_renderer_client.cc
|
| @@ -108,6 +108,11 @@
|
| #include "chrome/renderer/spellchecker/spellcheck_provider.h"
|
| #endif
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "chrome/common/media/encrypted_media_messages_android.h"
|
| +#include "chrome/renderer/media/encrypted_media_utils_android.h"
|
| +#endif
|
| +
|
| using autofill::AutofillAgent;
|
| using autofill::PasswordAutofillAgent;
|
| using autofill::PasswordGenerationManager;
|
| @@ -1307,6 +1312,16 @@ void ChromeContentRendererClient::AddKeySystems(
|
| // TODO(ddorwin): In the next CL, move code from
|
| // content/renderer/media/crypto/key_systems_info.cc to chrome_key_systems.cc
|
| // and call AddKeySystems.
|
| +#if defined(OS_ANDROID)
|
| + std::vector<SupportedKeySystem> supported_systems;
|
| + RenderThread::Get()->GetChannel()->Send(
|
| + new ChromeViewHostMsg_GetSupportedKeySystems(
|
| + MSG_ROUTING_NONE, &supported_systems));
|
| + for (unsigned i = 0; i < supported_systems.size(); ++i) {
|
| + key_systems->push_back(
|
| + SupportedKeySystemToKeySystemInfo(supported_systems[i]));
|
| + }
|
| +#endif // defined(OS_ANDROID)
|
| }
|
|
|
| bool ChromeContentRendererClient::ShouldReportDetailedMessageForSource(
|
|
|