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

Side by Side Diff: webkit/media/cache_util.cc

Issue 11887029: Update some #includes in webkit/media for headers in the new Platform directory (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 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 | « webkit/media/buffered_resource_loader_unittest.cc ('k') | webkit/media/cache_util_unittest.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 (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 #include "webkit/media/cache_util.h" 5 #include "webkit/media/cache_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "net/http/http_util.h" 12 #include "net/http/http_util.h"
13 #include "net/http/http_version.h" 13 #include "net/http/http_version.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCString.h " 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRespon se.h" 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLResponse.h"
17 17
18 using base::Time; 18 using base::Time;
19 using base::TimeDelta; 19 using base::TimeDelta;
20 using net::HttpVersion; 20 using net::HttpVersion;
21 using WebKit::WebURLResponse; 21 using WebKit::WebURLResponse;
22 22
23 namespace webkit_media { 23 namespace webkit_media {
24 24
25 enum { kHttpOK = 200, kHttpPartialContent = 206 }; 25 enum { kHttpOK = 200, kHttpPartialContent = 206 };
26 26
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 &expires) && 78 &expires) &&
79 date > Time() && expires > Time() && 79 date > Time() && expires > Time() &&
80 (expires - date) < kMinimumAgeForUsefulness) { 80 (expires - date) < kMinimumAgeForUsefulness) {
81 reasons |= kExpiresTooSoon; 81 reasons |= kExpiresTooSoon;
82 } 82 }
83 83
84 return reasons; 84 return reasons;
85 } 85 }
86 86
87 } // namespace webkit_media 87 } // namespace webkit_media
OLDNEW
« no previous file with comments | « webkit/media/buffered_resource_loader_unittest.cc ('k') | webkit/media/cache_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698