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

Side by Side Diff: ppapi/cpp/private/content_decryptor_private.h

Issue 813683005: Add |legacy_destination_url| back to SessionMessage for EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes Created 5 years, 11 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
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_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_ 5 #ifndef PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_ 6 #define PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // to the browser. 74 // to the browser.
75 void PromiseResolved(uint32_t promise_id); 75 void PromiseResolved(uint32_t promise_id);
76 void PromiseResolvedWithSession(uint32_t promise_id, 76 void PromiseResolvedWithSession(uint32_t promise_id,
77 const std::string& web_session_id); 77 const std::string& web_session_id);
78 void PromiseRejected(uint32_t promise_id, 78 void PromiseRejected(uint32_t promise_id,
79 PP_CdmExceptionCode exception_code, 79 PP_CdmExceptionCode exception_code,
80 uint32_t system_code, 80 uint32_t system_code,
81 const std::string& error_description); 81 const std::string& error_description);
82 void SessionMessage(const std::string& web_session_id, 82 void SessionMessage(const std::string& web_session_id,
83 PP_CdmMessageType message_type, 83 PP_CdmMessageType message_type,
84 pp::VarArrayBuffer message); 84 pp::VarArrayBuffer message,
85 const std::string& legacy_destination_url);
85 void SessionKeysChange(const std::string& web_session_id, 86 void SessionKeysChange(const std::string& web_session_id,
86 bool has_additional_usable_key, 87 bool has_additional_usable_key,
87 const std::vector<PP_KeyInformation>& key_information); 88 const std::vector<PP_KeyInformation>& key_information);
88 void SessionExpirationChange(const std::string& web_session_id, 89 void SessionExpirationChange(const std::string& web_session_id,
89 PP_Time new_expiry_time); 90 PP_Time new_expiry_time);
90 void SessionClosed(const std::string& web_session_id); 91 void SessionClosed(const std::string& web_session_id);
91 void SessionError(const std::string& web_session_id, 92 void SessionError(const std::string& web_session_id,
92 PP_CdmExceptionCode exception_code, 93 PP_CdmExceptionCode exception_code,
93 uint32_t system_code, 94 uint32_t system_code,
94 const std::string& error_description); 95 const std::string& error_description);
(...skipping 24 matching lines...) Expand all
119 void DeliverSamples(pp::Buffer_Dev audio_frames, 120 void DeliverSamples(pp::Buffer_Dev audio_frames,
120 const PP_DecryptedSampleInfo& decrypted_sample_info); 121 const PP_DecryptedSampleInfo& decrypted_sample_info);
121 122
122 private: 123 private:
123 InstanceHandle associated_instance_; 124 InstanceHandle associated_instance_;
124 }; 125 };
125 126
126 } // namespace pp 127 } // namespace pp
127 128
128 #endif // PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_ 129 #endif // PPAPI_CPP_PRIVATE_CONTENT_DECRYPTOR_PRIVATE_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_content_decryptor_private.h ('k') | ppapi/cpp/private/content_decryptor_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698