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