| Index: chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.h
|
| diff --git a/chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.h b/chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.h
|
| index bb6004f456b1d567e594355b45a592b7b32fa259..830d4a61a0aaa2e40cf2e4292ea31848c44e633a 100644
|
| --- a/chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.h
|
| +++ b/chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.h
|
| @@ -19,6 +19,12 @@ struct HostMessageContext;
|
| } // namespace host
|
| } // namespace ppapi
|
|
|
| +#if defined(OS_CHROMEOS)
|
| +namespace chromeos {
|
| +class OutputProtectionDelegate;
|
| +}
|
| +#endif
|
| +
|
| namespace chrome {
|
|
|
| class PepperOutputProtectionMessageFilter
|
| @@ -28,10 +34,6 @@ class PepperOutputProtectionMessageFilter
|
| PP_Instance instance);
|
|
|
| private:
|
| -#if defined(OS_CHROMEOS)
|
| - class Delegate;
|
| -#endif
|
| -
|
| // ppapi::host::ResourceMessageFilter overrides.
|
| scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage(
|
| const IPC::Message& msg) override;
|
| @@ -46,17 +48,17 @@ class PepperOutputProtectionMessageFilter
|
| uint32_t desired_method_mask);
|
|
|
| void OnQueryStatusComplete(ppapi::host::ReplyMessageContext reply_context,
|
| - int32_t result,
|
| + bool success,
|
| uint32_t link_mask,
|
| uint32_t protection_mask);
|
|
|
| void OnEnableProtectionComplete(
|
| ppapi::host::ReplyMessageContext reply_context,
|
| - int32_t result);
|
| + bool success);
|
|
|
| #if defined(OS_CHROMEOS)
|
| - // Delegator. Should be deleted in UI thread.
|
| - Delegate* delegate_;
|
| + // Delegate. Should be deleted in UI thread.
|
| + chromeos::OutputProtectionDelegate* delegate_;
|
| #endif
|
|
|
| base::WeakPtrFactory<PepperOutputProtectionMessageFilter> weak_ptr_factory_;
|
|
|