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

Side by Side Diff: content/renderer/media/android/proxy_media_keys.cc

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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "content/renderer/media/android/proxy_media_keys.h" 5 #include "content/renderer/media/android/proxy_media_keys.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void ProxyMediaKeys::OnSessionReady(uint32 session_id) { 106 void ProxyMediaKeys::OnSessionReady(uint32 session_id) {
107 session_ready_cb_.Run(session_id); 107 session_ready_cb_.Run(session_id);
108 } 108 }
109 109
110 void ProxyMediaKeys::OnSessionClosed(uint32 session_id) { 110 void ProxyMediaKeys::OnSessionClosed(uint32 session_id) {
111 session_closed_cb_.Run(session_id); 111 session_closed_cb_.Run(session_id);
112 } 112 }
113 113
114 void ProxyMediaKeys::OnSessionError(uint32 session_id, 114 void ProxyMediaKeys::OnSessionError(uint32 session_id,
115 media::MediaKeys::KeyError error_code, 115 media::MediaKeys::KeyError error_code,
116 int system_code) { 116 uint32 system_code) {
117 session_error_cb_.Run(session_id, error_code, system_code); 117 session_error_cb_.Run(session_id, error_code, system_code);
118 } 118 }
119 119
120 } // namespace content 120 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/android/proxy_media_keys.h ('k') | content/renderer/media/android/renderer_media_player_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698