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

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

Issue 1102363005: Initialize the CDM asynchronously (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + Android compile changes Created 5 years, 7 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 uint32_t promise_id,
35 SerializedVarReceiveInput key_system, 36 SerializedVarReceiveInput key_system,
36 PP_Bool allow_distinctive_identifier, 37 PP_Bool allow_distinctive_identifier,
37 PP_Bool allow_persistent_state); 38 PP_Bool allow_persistent_state);
38 void OnMsgSetServerCertificate(PP_Instance instance, 39 void OnMsgSetServerCertificate(PP_Instance instance,
39 uint32_t promise_id, 40 uint32_t promise_id,
40 std::vector<uint8_t> server_certificate); 41 std::vector<uint8_t> server_certificate);
41 void OnMsgCreateSessionAndGenerateRequest( 42 void OnMsgCreateSessionAndGenerateRequest(
42 PP_Instance instance, 43 PP_Instance instance,
43 uint32_t promise_id, 44 uint32_t promise_id,
44 PP_SessionType session_type, 45 PP_SessionType session_type,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 84
84 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_; 85 const PPP_ContentDecryptor_Private* ppp_decryptor_impl_;
85 86
86 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy); 87 DISALLOW_COPY_AND_ASSIGN(PPP_ContentDecryptor_Private_Proxy);
87 }; 88 };
88 89
89 } // namespace proxy 90 } // namespace proxy
90 } // namespace ppapi 91 } // namespace ppapi
91 92
92 #endif // PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_ 93 #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