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

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

Issue 51613002: Abort MSP::OnPrefetchDone() if just after MSP::Release(). Let seek and config change survive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove an extra blank line Created 7 years, 1 month 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 virtual void OnKeyError(int media_keys_id, 99 virtual void OnKeyError(int media_keys_id,
100 const std::string& session_id, 100 const std::string& session_id,
101 media::MediaKeys::KeyError error_code, 101 media::MediaKeys::KeyError error_code,
102 int system_code) = 0; 102 int system_code) = 0;
103 103
104 // Called when MediaDrmBridge wants to send a KeyMessage. 104 // Called when MediaDrmBridge wants to send a KeyMessage.
105 virtual void OnKeyMessage(int media_keys_id, 105 virtual void OnKeyMessage(int media_keys_id,
106 const std::string& session_id, 106 const std::string& session_id,
107 const std::vector<uint8>& message, 107 const std::vector<uint8>& message,
108 const std::string& destination_url) = 0; 108 const std::string& destination_url) = 0;
109
110 // Test-only method to hook completion of decode cycles in MediaSourcePlayer.
111 virtual void OnMediaDecoderCallback() = 0;
qinmin 2013/10/29 23:49:34 use sth like OnMediaDecoderCallbackForTesting()
wolenetz 2013/10/30 00:06:45 Done.
109 }; 112 };
110 113
111 } // namespace media 114 } // namespace media
112 115
113 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_ 116 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698