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

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

Issue 496143002: Update Pepper interface for EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove vector.data() Created 6 years, 3 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 virtual PP_Var GetPluginReferrerURL(PP_Instance instance, 464 virtual PP_Var GetPluginReferrerURL(PP_Instance instance,
465 PP_URLComponents_Dev* components) 465 PP_URLComponents_Dev* components)
466 OVERRIDE; 466 OVERRIDE;
467 467
468 // PPB_ContentDecryptor_Private implementation. 468 // PPB_ContentDecryptor_Private implementation.
469 virtual void PromiseResolved(PP_Instance instance, 469 virtual void PromiseResolved(PP_Instance instance,
470 uint32 promise_id) OVERRIDE; 470 uint32 promise_id) OVERRIDE;
471 virtual void PromiseResolvedWithSession(PP_Instance instance, 471 virtual 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 virtual void PromiseResolvedWithKeyIds(PP_Instance instance,
475 uint32 promise_id,
476 PP_Var key_ids_var) OVERRIDE;
474 virtual void PromiseRejected(PP_Instance instance, 477 virtual void PromiseRejected(PP_Instance instance,
475 uint32 promise_id, 478 uint32 promise_id,
476 PP_CdmExceptionCode exception_code, 479 PP_CdmExceptionCode exception_code,
477 uint32 system_code, 480 uint32 system_code,
478 PP_Var error_description_var) OVERRIDE; 481 PP_Var error_description_var) OVERRIDE;
479 virtual void SessionMessage(PP_Instance instance, 482 virtual void SessionMessage(PP_Instance instance,
480 PP_Var web_session_id_var, 483 PP_Var web_session_id_var,
481 PP_Var message_var, 484 PP_Var message_var,
482 PP_Var destination_url_var) OVERRIDE; 485 PP_Var destination_url_var) OVERRIDE;
486 virtual void SessionKeysChange(PP_Instance instance,
487 PP_Var web_session_id_var,
488 PP_Bool has_additional_usable_key) OVERRIDE;
489 virtual void SessionExpirationChange(PP_Instance instance,
490 PP_Var web_session_id_var,
491 PP_Time new_expiry_time) OVERRIDE;
483 virtual void SessionReady(PP_Instance instance, 492 virtual void SessionReady(PP_Instance instance,
484 PP_Var web_session_id_var) OVERRIDE; 493 PP_Var web_session_id_var) OVERRIDE;
485 virtual void SessionClosed(PP_Instance instance, 494 virtual void SessionClosed(PP_Instance instance,
486 PP_Var web_session_id_var) OVERRIDE; 495 PP_Var web_session_id_var) OVERRIDE;
487 virtual void SessionError(PP_Instance instance, 496 virtual void SessionError(PP_Instance instance,
488 PP_Var web_session_id_var, 497 PP_Var web_session_id_var,
489 PP_CdmExceptionCode exception_code, 498 PP_CdmExceptionCode exception_code,
490 uint32 system_code, 499 uint32 system_code,
491 PP_Var error_description_var) OVERRIDE; 500 PP_Var error_description_var) OVERRIDE;
492 virtual void DeliverBlock(PP_Instance instance, 501 virtual void DeliverBlock(PP_Instance instance,
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 918 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
910 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 919 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
911 920
912 friend class PpapiPluginInstanceTest; 921 friend class PpapiPluginInstanceTest;
913 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 922 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
914 }; 923 };
915 924
916 } // namespace content 925 } // namespace content
917 926
918 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 927 #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