Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7852)

Unified Diff: chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.h

Issue 1009943006: [1/8] Prepare Pepper for async output protection configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renames Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c9e575e965da73b1663d6df180b0215d4233eae3..bb6004f456b1d567e594355b45a592b7b32fa259 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
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_OUTPUT_PROTECTION_MESSAGE_FILTER_H_
#define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_OUTPUT_PROTECTION_MESSAGE_FILTER_H_
+#include "base/memory/weak_ptr.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/host/resource_message_filter.h"
@@ -44,11 +45,22 @@ class PepperOutputProtectionMessageFilter
int32_t OnEnableProtection(ppapi::host::HostMessageContext* context,
uint32_t desired_method_mask);
+ void OnQueryStatusComplete(ppapi::host::ReplyMessageContext reply_context,
+ int32_t result,
+ uint32_t link_mask,
+ uint32_t protection_mask);
+
+ void OnEnableProtectionComplete(
+ ppapi::host::ReplyMessageContext reply_context,
+ int32_t result);
+
#if defined(OS_CHROMEOS)
// Delegator. Should be deleted in UI thread.
Delegate* delegate_;
#endif
+ base::WeakPtrFactory<PepperOutputProtectionMessageFilter> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(PepperOutputProtectionMessageFilter);
};
« no previous file with comments | « no previous file | chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698