/external/chromium_org/content/renderer/media/ |
cdm_session_adapter.cc | 74 const std::string& web_session_id, 77 if (ContainsKey(sessions_, web_session_id)) 80 sessions_[web_session_id] = session; 84 void CdmSessionAdapter::UnregisterSession(const std::string& web_session_id) { 85 DCHECK(ContainsKey(sessions_, web_session_id)); 86 sessions_.erase(web_session_id); 103 const std::string& web_session_id, 108 web_session_id, response, response_length, promise.Pass()); 112 const std::string& web_session_id, 114 media_keys_->CloseSession(web_session_id, promise.Pass()) 148 << web_session_id; local 157 << web_session_id; local 167 << web_session_id; local 175 << web_session_id; local 183 << web_session_id; local 195 << web_session_id; local [all...] |
cdm_session_adapter.h | 63 // already an existing session with the same |web_session_id|. 65 const std::string& web_session_id, 69 void UnregisterSession(const std::string& web_session_id); 79 // Updates the session specified by |web_session_id| with |response|. 80 void UpdateSession(const std::string& web_session_id, 85 // Closes the session specified by |web_session_id|. 86 void CloseSession(const std::string& web_session_id, 90 // |web_session_id|. 91 void RemoveSession(const std::string& web_session_id, 96 void GetUsableKeyIds(const std::string& web_session_id, [all...] |
/external/chromium_org/media/base/ |
media_keys.h | 95 // Loads a session with the |web_session_id| provided. 98 virtual void LoadSession(const std::string& web_session_id, 101 // Updates a session specified by |web_session_id| with |response|. 102 virtual void UpdateSession(const std::string& web_session_id, 107 // Closes the session specified by |web_session_id|. 108 virtual void CloseSession(const std::string& web_session_id, 112 // |web_session_id|. 113 virtual void RemoveSession(const std::string& web_session_id, 118 virtual void GetUsableKeyIds(const std::string& web_session_id, 132 typedef base::Callback<void(const std::string& web_session_id, [all...] |
browser_cdm.h | 18 // (Use web_session_id rather than session_id). 20 void(uint32 session_id, const std::string& web_session_id)> 43 const std::string& web_session_id) = 0;
|
/external/chromium_org/ppapi/c/private/ |
ppb_content_decryptor_private.h | 58 * @param[in] web_session_id A <code>PP_Var</code> of type 63 struct PP_Var web_session_id); 108 * @param[in] web_session_id A <code>PP_Var</code> of type 120 struct PP_Var web_session_id, 126 * @param[in] web_session_id A <code>PP_Var</code> of type 134 struct PP_Var web_session_id, 139 * @param[in] web_session_id A <code>PP_Var</code> of type 148 struct PP_Var web_session_id, 162 * @param[in] web_session_id A <code>PP_Var</code> of type 166 void (*SessionReady)(PP_Instance instance, struct PP_Var web_session_id); [all...] |
ppp_content_decryptor_private.h | 94 * Loads a session whose web session ID is <code>web_session_id</code>. 97 * <code>SessionCreated()</code> with <code>web_session_id</code> on the 103 * @param[in] web_session_id A <code>PP_Var</code> of type 109 struct PP_Var web_session_id); 125 * @param[in] web_session_id A <code>PP_Var</code> of type 135 struct PP_Var web_session_id, 143 * @param[in] web_session_id A <code>PP_Var</code> of type 150 struct PP_Var web_session_id); 158 * @param[in] web_session_id A <code>PP_Var</code> of type 165 struct PP_Var web_session_id); [all...] |
/external/chromium_org/ppapi/cpp/private/ |
content_decryptor_private.h | 45 const std::string& web_session_id) = 0; 47 const std::string& web_session_id, 50 const std::string& web_session_id) = 0; 52 const std::string& web_session_id) = 0; 54 const std::string& web_session_id) = 0; 77 const std::string& web_session_id); 85 void SessionMessage(const std::string& web_session_id, 88 void SessionKeysChange(const std::string& web_session_id, 90 void SessionExpirationChange(const std::string& web_session_id, 92 void SessionReady(const std::string& web_session_id); [all...] |
content_decryptor_private.cc | 302 const std::string& web_session_id) { 304 pp::Var web_session_id_var(web_session_id); 346 const std::string& web_session_id, 350 pp::Var web_session_id_var(web_session_id); 361 const std::string& web_session_id, 364 pp::Var web_session_id_var(web_session_id); 373 const std::string& web_session_id, 376 pp::Var web_session_id_var(web_session_id); 384 void ContentDecryptor_Private::SessionReady(const std::string& web_session_id) { 386 pp::Var web_session_id_var(web_session_id); [all...] |
/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
clear_key_cdm.h | 45 const char* web_session_id, 48 const char* web_session_id, 53 const char* web_session_id, 56 const char* web_session_id, 59 const char* web_session_id, 92 void OnSessionMessage(const std::string& web_session_id, 95 void OnSessionKeysChange(const std::string& web_session_id, 97 void OnSessionClosed(const std::string& web_session_id); 101 void OnSessionCreated(uint32 promise_id, const std::string& web_session_id); 102 void OnSessionLoaded(uint32 promise_id, const std::string& web_session_id); [all...] |
/external/chromium_org/content/renderer/media/crypto/ |
proxy_media_keys.cc | 96 const std::string& web_session_id, 105 const std::string& web_session_id, 109 uint32 session_id = LookupSessionId(web_session_id); 122 void ProxyMediaKeys::CloseSession(const std::string& web_session_id, 124 uint32 session_id = LookupSessionId(web_session_id); 135 const std::string& web_session_id, 140 void ProxyMediaKeys::GetUsableKeyIds(const std::string& web_session_id, 146 const std::string& web_session_id) { 147 AssignWebSessionId(session_id, web_session_id); 152 session_promise->resolve(web_session_id); 171 const std::string web_session_id = LookupWebSessionId(session_id); local 177 const std::string web_session_id = LookupWebSessionId(session_id); local 194 const std::string web_session_id = LookupWebSessionId(session_id); local [all...] |
proxy_decryptor.cc | 157 const std::string& web_session_id) { 163 std::string session_id(web_session_id); 180 web_session_id), 183 web_session_id))); 211 void ProxyDecryptor::CancelKeyRequest(const std::string& web_session_id) { 217 web_session_id), 220 web_session_id))); 221 media_keys_->RemoveSession(web_session_id, promise.Pass()); 250 void ProxyDecryptor::OnSessionMessage(const std::string& web_session_id, 260 key_message_cb_.Run(web_session_id, key, destination_url) [all...] |
ppapi_decryptor.h | 59 const std::string& web_session_id, 62 const std::string& web_session_id, 67 const std::string& web_session_id, 70 const std::string& web_session_id, 73 const std::string& web_session_id, 111 void OnSessionMessage(const std::string& web_session_id, 114 void OnSessionKeysChange(const std::string& web_session_id, 116 void OnSessionExpirationUpdate(const std::string& web_session_id, 118 void OnSessionReady(const std::string& web_session_id); 119 void OnSessionClosed(const std::string& web_session_id); [all...] |
proxy_decryptor.h | 89 void OnSessionMessage(const std::string& web_session_id, 92 void OnSessionKeysChange(const std::string& web_session_id, 94 void OnSessionExpirationUpdate(const std::string& web_session_id, 96 void OnSessionReady(const std::string& web_session_id); 97 void OnSessionClosed(const std::string& web_session_id); 98 void OnSessionError(const std::string& web_session_id, 111 const std::string& web_session_id);
|
proxy_media_keys.h | 51 const std::string& web_session_id, 54 const std::string& web_session_id, 59 const std::string& web_session_id, 62 const std::string& web_session_id, 65 const std::string& web_session_id, 69 void OnSessionCreated(uint32 session_id, const std::string& web_session_id); 84 // web_session_id (a string representing the actual session id as generated 85 // by the CDM). SessionIdMap is used to map between the web_session_id and 109 const std::string& web_session_id); 110 uint32_t LookupSessionId(const std::string& web_session_id) const [all...] |
ppapi_decryptor.cc | 69 virtual void resolve(const std::string& web_session_id) OVERRIDE { 73 caller_promise_->resolve(web_session_id); 199 const std::string& web_session_id, 217 web_session_id, 222 const std::string& web_session_id, 240 web_session_id, 246 void PpapiDecryptor::CloseSession(const std::string& web_session_id, 255 CdmDelegate()->CloseSession(web_session_id, promise.Pass()); 259 const std::string& web_session_id, 268 CdmDelegate()->RemoveSession(web_session_id, promise.Pass()) [all...] |
/external/chromium_org/media/cdm/ |
aes_decryptor.h | 45 virtual void LoadSession(const std::string& web_session_id, 47 virtual void UpdateSession(const std::string& web_session_id, 51 virtual void CloseSession(const std::string& web_session_id, 53 virtual void RemoveSession(const std::string& web_session_id, 55 virtual void GetUsableKeyIds(const std::string& web_session_id, 115 bool AddDecryptionKey(const std::string& web_session_id, 123 // Deletes all keys associated with |web_session_id|. 124 void DeleteKeysForSession(const std::string& web_session_id);
|
aes_decryptor.cc | 41 void Insert(const std::string& web_session_id, 45 void Erase(const std::string& web_session_id); 56 bool Contains(const std::string& web_session_id) { 57 return Find(web_session_id) != key_list_.end(); 61 // Searches the list for an element with |web_session_id|. 62 KeyList::iterator Find(const std::string& web_session_id); 73 const std::string& web_session_id, 75 KeyList::iterator it = Find(web_session_id); 79 key_list_.push_front(std::make_pair(web_session_id, raw_ptr)); 83 const std::string& web_session_id) { [all...] |
/external/chromium_org/ppapi/api/private/ |
ppp_content_decryptor_private.idl | 78 * Loads a session whose web session ID is <code>web_session_id</code>. 81 * <code>SessionCreated()</code> with <code>web_session_id</code> on the 87 * @param[in] web_session_id A <code>PP_Var</code> of type 94 [in] PP_Var web_session_id); 111 * @param[in] web_session_id A <code>PP_Var</code> of type 122 [in] PP_Var web_session_id, 131 * @param[in] web_session_id A <code>PP_Var</code> of type 139 [in] PP_Var web_session_id); 148 * @param[in] web_session_id A <code>PP_Var</code> of type 156 [in] PP_Var web_session_id); [all...] |
ppb_content_decryptor_private.idl | 40 * @param[in] web_session_id A <code>PP_Var</code> of type 46 [in] PP_Var web_session_id); 96 * @param[in] web_session_id A <code>PP_Var</code> of type 109 [in] PP_Var web_session_id, 116 * @param[in] web_session_id A <code>PP_Var</code> of type 125 [in] PP_Var web_session_id, 131 * @param[in] web_session_id A <code>PP_Var</code> of type 141 [in] PP_Var web_session_id, 156 * @param[in] web_session_id A <code>PP_Var</code> of type 162 [in] PP_Var web_session_id); [all...] |
/external/chromium_org/ppapi/proxy/ |
ppp_content_decryptor_private_proxy.h | 46 SerializedVarReceiveInput web_session_id); 49 SerializedVarReceiveInput web_session_id, 53 const std::string& web_session_id); 56 const std::string& web_session_id); 59 const std::string& web_session_id);
|
/external/chromium_org/media/cdm/ppapi/ |
cdm_wrapper.h | 56 const char* web_session_id, 59 const char* web_session_id, 65 const char* web_session_id, 68 const char* web_session_id, 72 const char* web_session_id, 99 // to look up |web_session_id| and convert it into the existing |session_id|. 105 const char* web_session_id, 108 virtual void DropWebSessionId(std::string web_session_id) = 0; 117 // |promise_id|. Returns true if needed and |web_session_id| is updated, 120 std::string* web_session_id) = 0 [all...] |
cdm_adapter.h | 63 const std::string& web_session_id) OVERRIDE; 65 const std::string& web_session_id, 68 const std::string& web_session_id); 70 const std::string& web_session_id) OVERRIDE; 72 const std::string& web_session_id) OVERRIDE; 98 const char* web_session_id, 115 const char* web_session_id, 126 virtual void OnSessionMessage(const char* web_session_id, 133 const char* web_session_id, 136 virtual void OnExpirationChange(const char* web_session_id, [all...] |
cdm_adapter.cc | 393 const std::string& web_session_id) { 407 cdm_->LoadSession(promise_id, web_session_id.data(), web_session_id.size()); 411 const std::string& web_session_id, 416 PP_DCHECK(!web_session_id.empty()); 421 web_session_id.data(), 422 web_session_id.length(), 428 const std::string& web_session_id) { 430 promise_id, web_session_id.data(), web_session_id.length())) 664 std::string web_session_id = cdm_->LookupWebSessionId(session_id); local 678 std::string web_session_id = cdm_->LookupWebSessionId(session_id); local 686 std::string web_session_id = cdm_->LookupWebSessionId(session_id); local 720 std::string web_session_id = cdm_->LookupWebSessionId(session_id); local [all...] |
/external/chromium_org/ppapi/thunk/ |
ppb_content_decryptor_private_thunk.cc | 29 struct PP_Var web_session_id) { 36 web_session_id); 68 struct PP_Var web_session_id, 76 web_session_id, 82 struct PP_Var web_session_id, 89 web_session_id, 94 struct PP_Var web_session_id, 101 web_session_id, 105 void SessionReady(PP_Instance instance, struct PP_Var web_session_id) { 110 enter.functions()->SessionReady(instance, web_session_id); [all...] |
/external/chromium_org/content/renderer/pepper/ |
content_decryptor_delegate.h | 70 void LoadSession(const std::string& web_session_id, 72 void UpdateSession(const std::string& web_session_id, 76 void CloseSession(const std::string& web_session_id, 78 void RemoveSession(const std::string& web_session_id, 80 void GetUsableKeyIds(const std::string& web_session_id, 106 void OnPromiseResolvedWithSession(uint32 promise_id, PP_Var web_session_id); 112 void OnSessionMessage(PP_Var web_session_id, 115 void OnSessionKeysChange(PP_Var web_session_id, 117 void OnSessionExpirationChange(PP_Var web_session_id, 119 void OnSessionReady(PP_Var web_session_id); [all...] |