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

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

Issue 179123009: Encrypted Media: Use uint32 for systemCode in SessionError. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 virtual void SessionMessage(PP_Instance instance, 457 virtual void SessionMessage(PP_Instance instance,
458 uint32_t session_id, 458 uint32_t session_id,
459 PP_Var message, 459 PP_Var message,
460 PP_Var destination_url) OVERRIDE; 460 PP_Var destination_url) OVERRIDE;
461 virtual void SessionReady(PP_Instance instance, uint32_t session_id) OVERRIDE; 461 virtual void SessionReady(PP_Instance instance, uint32_t session_id) OVERRIDE;
462 virtual void SessionClosed(PP_Instance instance, 462 virtual void SessionClosed(PP_Instance instance,
463 uint32_t session_id) OVERRIDE; 463 uint32_t session_id) OVERRIDE;
464 virtual void SessionError(PP_Instance instance, 464 virtual void SessionError(PP_Instance instance,
465 uint32_t session_id, 465 uint32_t session_id,
466 int32_t media_error, 466 int32_t media_error,
467 int32_t system_code) OVERRIDE; 467 uint32_t system_code) OVERRIDE;
468 virtual void DeliverBlock(PP_Instance instance, 468 virtual void DeliverBlock(PP_Instance instance,
469 PP_Resource decrypted_block, 469 PP_Resource decrypted_block,
470 const PP_DecryptedBlockInfo* block_info) OVERRIDE; 470 const PP_DecryptedBlockInfo* block_info) OVERRIDE;
471 virtual void DecoderInitializeDone(PP_Instance instance, 471 virtual void DecoderInitializeDone(PP_Instance instance,
472 PP_DecryptorStreamType decoder_type, 472 PP_DecryptorStreamType decoder_type,
473 uint32_t request_id, 473 uint32_t request_id,
474 PP_Bool success) OVERRIDE; 474 PP_Bool success) OVERRIDE;
475 virtual void DecoderDeinitializeDone(PP_Instance instance, 475 virtual void DecoderDeinitializeDone(PP_Instance instance,
476 PP_DecryptorStreamType decoder_type, 476 PP_DecryptorStreamType decoder_type,
477 uint32_t request_id) OVERRIDE; 477 uint32_t request_id) OVERRIDE;
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 883 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
884 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 884 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
885 885
886 friend class PpapiPluginInstanceTest; 886 friend class PpapiPluginInstanceTest;
887 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 887 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
888 }; 888 };
889 889
890 } // namespace content 890 } // namespace content
891 891
892 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 892 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698