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

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

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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
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
11 #include "base/basictypes.h"
12 #include "base/callback.h" 11 #include "base/callback.h"
13 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/scoped_vector.h" 14 #include "base/memory/scoped_vector.h"
16 #include "media/base/eme_constants.h" 15 #include "media/base/eme_constants.h"
17 #include "media/base/media_export.h" 16 #include "media/base/media_export.h"
18 #include "url/gurl.h" 17 #include "url/gurl.h"
19 18
20 namespace base { 19 namespace base {
21 class Time; 20 class Time;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 215
217 // Called when the CDM changes the expiration time of a session. 216 // Called when the CDM changes the expiration time of a session.
218 // See http://w3c.github.io/encrypted-media/#update-expiration 217 // See http://w3c.github.io/encrypted-media/#update-expiration
219 typedef base::Callback<void(const std::string& session_id, 218 typedef base::Callback<void(const std::string& session_id,
220 const base::Time& new_expiry_time)> 219 const base::Time& new_expiry_time)>
221 SessionExpirationUpdateCB; 220 SessionExpirationUpdateCB;
222 221
223 } // namespace media 222 } // namespace media
224 223
225 #endif // MEDIA_BASE_MEDIA_KEYS_H_ 224 #endif // MEDIA_BASE_MEDIA_KEYS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698