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

Side by Side Diff: net/disk_cache/simple/simple_synchronous_entry.h

Issue 18054009: Use a direct include of time headers in net/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « net/disk_cache/simple/simple_index_unittest.cc ('k') | net/disk_cache/simple/simple_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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 NET_DISK_CACHE_SIMPLE_SIMPLE_SYNCHRONOUS_ENTRY_H_ 5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_SYNCHRONOUS_ENTRY_H_
6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_SYNCHRONOUS_ENTRY_H_ 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_SYNCHRONOUS_ENTRY_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/platform_file.h" 15 #include "base/platform_file.h"
16 #include "base/time.h" 16 #include "base/time/time.h"
17 #include "net/disk_cache/simple/simple_entry_format.h" 17 #include "net/disk_cache/simple/simple_entry_format.h"
18 18
19 namespace net { 19 namespace net {
20 class IOBuffer; 20 class IOBuffer;
21 } 21 }
22 22
23 namespace disk_cache { 23 namespace disk_cache {
24 24
25 // Worker thread interface to the very simple cache. This interface is not 25 // Worker thread interface to the very simple cache. This interface is not
26 // thread safe, and callers must ensure that it is only ever accessed from 26 // thread safe, and callers must ensure that it is only ever accessed from
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 base::Time last_used_; 129 base::Time last_used_;
130 base::Time last_modified_; 130 base::Time last_modified_;
131 int32 data_size_[kSimpleEntryFileCount]; 131 int32 data_size_[kSimpleEntryFileCount];
132 132
133 base::PlatformFile files_[kSimpleEntryFileCount]; 133 base::PlatformFile files_[kSimpleEntryFileCount];
134 }; 134 };
135 135
136 } // namespace disk_cache 136 } // namespace disk_cache
137 137
138 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_SYNCHRONOUS_ENTRY_H_ 138 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_SYNCHRONOUS_ENTRY_H_
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_index_unittest.cc ('k') | net/disk_cache/simple/simple_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698