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

Side by Side Diff: ppapi/proxy/ppp_content_decryptor_private_proxy.h

Issue 985113003: Block platform verification and file IO in the CDM adapter if the CDM configuration disallows them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix DCHECK types. Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_
6 #define PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ 6 #define PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 virtual ~PPP_ContentDecryptor_Private_Proxy(); 25 virtual ~PPP_ContentDecryptor_Private_Proxy();
26 26
27 static const PPP_ContentDecryptor_Private* GetProxyInterface(); 27 static const PPP_ContentDecryptor_Private* GetProxyInterface();
28 28
29 private: 29 private:
30 // InterfaceProxy implementation. 30 // InterfaceProxy implementation.
31 virtual bool OnMessageReceived(const IPC::Message& msg); 31 virtual bool OnMessageReceived(const IPC::Message& msg);
32 32
33 // Message handlers. 33 // Message handlers.
34 void OnMsgInitialize(PP_Instance instance, 34 void OnMsgInitialize(PP_Instance instance,
35 SerializedVarReceiveInput key_system); 35 SerializedVarReceiveInput key_system,
36 PP_Bool allow_distinctive_identifier,
37 PP_Bool allow_persistent_state);
36 void OnMsgSetServerCertificate(PP_Instance instance, 38 void OnMsgSetServerCertificate(PP_Instance instance,
37 uint32_t promise_id, 39 uint32_t promise_id,
38 std::vector<uint8_t> server_certificate); 40 std::vector<uint8_t> server_certificate);
39 void OnMsgCreateSessionAndGenerateRequest( 41 void OnMsgCreateSessionAndGenerateRequest(
40 PP_Instance instance, 42 PP_Instance instance,
41 uint32_t promise_id, 43 uint32_t promise_id,
42 PP_SessionType session_type, 44 PP_SessionType session_type,
43 SerializedVarReceiveInput init_data_type, 45 SerializedVarReceiveInput init_data_type,
44 SerializedVarReceiveInput init_data); 46 SerializedVarReceiveInput init_data);
45 void OnMsgLoadSession(PP_Instance instance, 47 void OnMsgLoadSession(PP_Instance instance,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 83
82 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; 84 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_;
83 85
84 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); 86 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy);
85 }; 87 };
86 88
87 } // namespace proxy 89 } // namespace proxy
88 } // namespace ppapi 90 } // namespace ppapi
89 91
90 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ 92 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698