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

Side by Side Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 811923002: Changes to support CDM_7 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CrOS compile error 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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 PP_Var GetPluginInstanceURL(PP_Instance instance, 464 PP_Var GetPluginInstanceURL(PP_Instance instance,
465 PP_URLComponents_Dev* components) override; 465 PP_URLComponents_Dev* components) override;
466 PP_Var GetPluginReferrerURL(PP_Instance instance, 466 PP_Var GetPluginReferrerURL(PP_Instance instance,
467 PP_URLComponents_Dev* components) override; 467 PP_URLComponents_Dev* components) override;
468 468
469 // PPB_ContentDecryptor_Private implementation. 469 // PPB_ContentDecryptor_Private implementation.
470 void PromiseResolved(PP_Instance instance, uint32 promise_id) override; 470 void PromiseResolved(PP_Instance instance, uint32 promise_id) override;
471 void PromiseResolvedWithSession(PP_Instance instance, 471 void PromiseResolvedWithSession(PP_Instance instance,
472 uint32 promise_id, 472 uint32 promise_id,
473 PP_Var web_session_id_var) override; 473 PP_Var web_session_id_var) override;
474 void PromiseResolvedWithKeyIds(PP_Instance instance,
475 uint32 promise_id,
476 PP_Var key_ids_var) override;
477 void PromiseRejected(PP_Instance instance, 474 void PromiseRejected(PP_Instance instance,
478 uint32 promise_id, 475 uint32 promise_id,
479 PP_CdmExceptionCode exception_code, 476 PP_CdmExceptionCode exception_code,
480 uint32 system_code, 477 uint32 system_code,
481 PP_Var error_description_var) override; 478 PP_Var error_description_var) override;
482 void SessionMessage(PP_Instance instance, 479 void SessionMessage(PP_Instance instance,
483 PP_Var web_session_id_var, 480 PP_Var web_session_id_var,
484 PP_Var message_var, 481 PP_CdmMessageType message_type,
485 PP_Var destination_url_var) override; 482 PP_Var message_var) override;
486 void SessionKeysChange(PP_Instance instance, 483 void SessionKeysChange(
487 PP_Var web_session_id_var, 484 PP_Instance instance,
488 PP_Bool has_additional_usable_key) override; 485 PP_Var web_session_id_var,
486 PP_Bool has_additional_usable_key,
487 uint32_t key_count,
488 const struct PP_KeyInformation key_information[]) override;
489 void SessionExpirationChange(PP_Instance instance, 489 void SessionExpirationChange(PP_Instance instance,
490 PP_Var web_session_id_var, 490 PP_Var web_session_id_var,
491 PP_Time new_expiry_time) override; 491 PP_Time new_expiry_time) override;
492 void SessionReady(PP_Instance instance, PP_Var web_session_id_var) override;
493 void SessionClosed(PP_Instance instance, PP_Var web_session_id_var) override; 492 void SessionClosed(PP_Instance instance, PP_Var web_session_id_var) override;
494 void SessionError(PP_Instance instance, 493 void SessionError(PP_Instance instance,
495 PP_Var web_session_id_var, 494 PP_Var web_session_id_var,
496 PP_CdmExceptionCode exception_code, 495 PP_CdmExceptionCode exception_code,
497 uint32 system_code, 496 uint32 system_code,
498 PP_Var error_description_var) override; 497 PP_Var error_description_var) override;
499 void DeliverBlock(PP_Instance instance, 498 void DeliverBlock(PP_Instance instance,
500 PP_Resource decrypted_block, 499 PP_Resource decrypted_block,
501 const PP_DecryptedBlockInfo* block_info) override; 500 const PP_DecryptedBlockInfo* block_info) override;
502 void DecoderInitializeDone(PP_Instance instance, 501 void DecoderInitializeDone(PP_Instance instance,
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 // view change events. 914 // view change events.
916 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 915 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
917 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 916 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
918 917
919 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 918 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
920 }; 919 };
921 920
922 } // namespace content 921 } // namespace content
923 922
924 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 923 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/content_decryptor_delegate.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698