| OLD | NEW |
| 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 PP_URLComponents_Dev* components) OVERRIDE; | 439 PP_URLComponents_Dev* components) OVERRIDE; |
| 440 virtual PP_Var GetPluginInstanceURL( | 440 virtual PP_Var GetPluginInstanceURL( |
| 441 PP_Instance instance, | 441 PP_Instance instance, |
| 442 PP_URLComponents_Dev* components) OVERRIDE; | 442 PP_URLComponents_Dev* components) OVERRIDE; |
| 443 virtual PP_Var GetPluginReferrerURL( | 443 virtual PP_Var GetPluginReferrerURL( |
| 444 PP_Instance instance, | 444 PP_Instance instance, |
| 445 PP_URLComponents_Dev* components) OVERRIDE; | 445 PP_URLComponents_Dev* components) OVERRIDE; |
| 446 | 446 |
| 447 // PPB_ContentDecryptor_Private implementation. | 447 // PPB_ContentDecryptor_Private implementation. |
| 448 virtual void SessionCreated(PP_Instance instance, | 448 virtual void SessionCreated(PP_Instance instance, |
| 449 uint32_t reference_id, | 449 uint32_t session_id, |
| 450 PP_Var session_id_var) OVERRIDE; | 450 PP_Var web_session_id_var) OVERRIDE; |
| 451 virtual void SessionMessage(PP_Instance instance, | 451 virtual void SessionMessage(PP_Instance instance, |
| 452 uint32_t reference_id, | 452 uint32_t session_id, |
| 453 PP_Var message, | 453 PP_Var message, |
| 454 PP_Var destination_url) OVERRIDE; | 454 PP_Var destination_url) OVERRIDE; |
| 455 virtual void SessionReady(PP_Instance instance, | 455 virtual void SessionReady(PP_Instance instance, uint32_t session_id) OVERRIDE; |
| 456 uint32_t reference_id) OVERRIDE; | |
| 457 virtual void SessionClosed(PP_Instance instance, | 456 virtual void SessionClosed(PP_Instance instance, |
| 458 uint32_t reference_id) OVERRIDE; | 457 uint32_t session_id) OVERRIDE; |
| 459 virtual void SessionError(PP_Instance instance, | 458 virtual void SessionError(PP_Instance instance, |
| 460 uint32_t reference_id, | 459 uint32_t session_id, |
| 461 int32_t media_error, | 460 int32_t media_error, |
| 462 int32_t system_code) OVERRIDE; | 461 int32_t system_code) OVERRIDE; |
| 463 virtual void DeliverBlock(PP_Instance instance, | 462 virtual void DeliverBlock(PP_Instance instance, |
| 464 PP_Resource decrypted_block, | 463 PP_Resource decrypted_block, |
| 465 const PP_DecryptedBlockInfo* block_info) OVERRIDE; | 464 const PP_DecryptedBlockInfo* block_info) OVERRIDE; |
| 466 virtual void DecoderInitializeDone(PP_Instance instance, | 465 virtual void DecoderInitializeDone(PP_Instance instance, |
| 467 PP_DecryptorStreamType decoder_type, | 466 PP_DecryptorStreamType decoder_type, |
| 468 uint32_t request_id, | 467 uint32_t request_id, |
| 469 PP_Bool success) OVERRIDE; | 468 PP_Bool success) OVERRIDE; |
| 470 virtual void DecoderDeinitializeDone(PP_Instance instance, | 469 virtual void DecoderDeinitializeDone(PP_Instance instance, |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 866 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 865 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
| 867 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 866 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
| 868 | 867 |
| 869 friend class PpapiPluginInstanceTest; | 868 friend class PpapiPluginInstanceTest; |
| 870 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 869 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 871 }; | 870 }; |
| 872 | 871 |
| 873 } // namespace content | 872 } // namespace content |
| 874 | 873 |
| 875 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 874 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |