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

Side by Side Diff: media/base/android/media_player_manager.h

Issue 179123009: Encrypted Media: Use uint32 for systemCode in SessionError. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed 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 MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_
6 #define MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ 6 #define MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // Called when MediaDrmBridge wants to send a Ready event. 106 // Called when MediaDrmBridge wants to send a Ready event.
107 virtual void OnSessionReady(int cdm_id, uint32 session_id) = 0; 107 virtual void OnSessionReady(int cdm_id, uint32 session_id) = 0;
108 108
109 // Called when MediaDrmBridge wants to send a Closed event. 109 // Called when MediaDrmBridge wants to send a Closed event.
110 virtual void OnSessionClosed(int cdm_id, uint32 session_id) = 0; 110 virtual void OnSessionClosed(int cdm_id, uint32 session_id) = 0;
111 111
112 // Called when MediaDrmBridge wants to send an Error event. 112 // Called when MediaDrmBridge wants to send an Error event.
113 virtual void OnSessionError(int cdm_id, 113 virtual void OnSessionError(int cdm_id,
114 uint32 session_id, 114 uint32 session_id,
115 media::MediaKeys::KeyError error_code, 115 media::MediaKeys::KeyError error_code,
116 int system_code) = 0; 116 uint32 system_code) = 0;
117 }; 117 };
118 118
119 } // namespace media 119 } // namespace media
120 120
121 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ 121 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_instance_impl.cc ('k') | media/base/android/media_source_player_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698