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

Side by Side Diff: media/blink/cache_util.h

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef 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
« no previous file with comments | « media/blink/buffered_resource_loader_unittest.cc ('k') | media/blink/cache_util.cc » ('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_BLINK_CACHE_UTIL_H_ 5 #ifndef MEDIA_BLINK_CACHE_UTIL_H_
6 #define MEDIA_BLINK_CACHE_UTIL_H_ 6 #define MEDIA_BLINK_CACHE_UTIL_H_
7 7
8 #include <stdint.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/time/time.h" 12 #include "base/time/time.h"
11 #include "media/blink/media_blink_export.h" 13 #include "media/blink/media_blink_export.h"
12 14
13 namespace blink { 15 namespace blink {
14 class WebURLResponse; 16 class WebURLResponse;
15 } 17 }
16 18
17 namespace media { 19 namespace media {
(...skipping 21 matching lines...) Expand all
39 // Returns when we should evict data from this response from our 41 // Returns when we should evict data from this response from our
40 // memory cache. Note that we may still cache data longer if 42 // memory cache. Note that we may still cache data longer if
41 // a audio/video tag is currently using it. Returns a TimeDelta 43 // a audio/video tag is currently using it. Returns a TimeDelta
42 // which is should be added to base::Time::Now() or base::TimeTicks::Now(). 44 // which is should be added to base::Time::Now() or base::TimeTicks::Now().
43 base::TimeDelta MEDIA_BLINK_EXPORT 45 base::TimeDelta MEDIA_BLINK_EXPORT
44 GetCacheValidUntil(const blink::WebURLResponse& response); 46 GetCacheValidUntil(const blink::WebURLResponse& response);
45 47
46 } // namespace media 48 } // namespace media
47 49
48 #endif // MEDIA_BLINK_CACHE_UTIL_H_ 50 #endif // MEDIA_BLINK_CACHE_UTIL_H_
OLDNEW
« no previous file with comments | « media/blink/buffered_resource_loader_unittest.cc ('k') | media/blink/cache_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698