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

Side by Side Diff: media/base/media_keys.h

Issue 23072043: Change NeedKeyCB to use std::vector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix seek_tester, demuxer_bench, and player_x11 Created 7 years, 4 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
« no previous file with comments | « media/base/demuxer.h ('k') | media/base/stream_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef MEDIA_BASE_MEDIA_KEYS_H_ 5 #ifndef MEDIA_BASE_MEDIA_KEYS_H_
6 #define MEDIA_BASE_MEDIA_KEYS_H_ 6 #define MEDIA_BASE_MEDIA_KEYS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 typedef base::Callback<void(const std::string& session_id, 75 typedef base::Callback<void(const std::string& session_id,
76 media::MediaKeys::KeyError error_code, 76 media::MediaKeys::KeyError error_code,
77 int system_code)> KeyErrorCB; 77 int system_code)> KeyErrorCB;
78 78
79 typedef base::Callback<void(const std::string& session_id, 79 typedef base::Callback<void(const std::string& session_id,
80 const std::vector<uint8>& message, 80 const std::vector<uint8>& message,
81 const std::string& default_url)> KeyMessageCB; 81 const std::string& default_url)> KeyMessageCB;
82 82
83 typedef base::Callback<void(const std::string& session_id, 83 typedef base::Callback<void(const std::string& session_id,
84 const std::string& type, 84 const std::string& type,
85 scoped_ptr<uint8[]> init_data, 85 const std::vector<uint8>& init_data)> NeedKeyCB;
86 int init_data_size)> NeedKeyCB;
87 86
88 } // namespace media 87 } // namespace media
89 88
90 #endif // MEDIA_BASE_MEDIA_KEYS_H_ 89 #endif // MEDIA_BASE_MEDIA_KEYS_H_
OLDNEW
« no previous file with comments | « media/base/demuxer.h ('k') | media/base/stream_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698