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

Side by Side Diff: net/disk_cache/blockfile/file.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « net/disk_cache/blockfile/experiments.h ('k') | net/disk_cache/blockfile/file_block.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 (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 // See net/disk_cache/disk_cache.h for the public interface of the cache. 5 // See net/disk_cache/disk_cache.h for the public interface of the cache.
6 6
7 #ifndef NET_DISK_CACHE_BLOCKFILE_FILE_H_ 7 #ifndef NET_DISK_CACHE_BLOCKFILE_FILE_H_
8 #define NET_DISK_CACHE_BLOCKFILE_FILE_H_ 8 #define NET_DISK_CACHE_BLOCKFILE_FILE_H_
9 9
10 #include <stddef.h>
11
10 #include "base/files/file.h" 12 #include "base/files/file.h"
13 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
12 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
13 16
14 namespace base { 17 namespace base {
15 class FilePath; 18 class FilePath;
16 } 19 }
17 20
18 namespace disk_cache { 21 namespace disk_cache {
19 22
20 // This interface is used to support asynchronous ReadData and WriteData calls. 23 // This interface is used to support asynchronous ReadData and WriteData calls.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 bool mixed_; 94 bool mixed_;
92 base::File base_file_; // Regular, asynchronous IO handle. 95 base::File base_file_; // Regular, asynchronous IO handle.
93 base::File sync_base_file_; // Synchronous IO handle. 96 base::File sync_base_file_; // Synchronous IO handle.
94 97
95 DISALLOW_COPY_AND_ASSIGN(File); 98 DISALLOW_COPY_AND_ASSIGN(File);
96 }; 99 };
97 100
98 } // namespace disk_cache 101 } // namespace disk_cache
99 102
100 #endif // NET_DISK_CACHE_BLOCKFILE_FILE_H_ 103 #endif // NET_DISK_CACHE_BLOCKFILE_FILE_H_
OLDNEW
« no previous file with comments | « net/disk_cache/blockfile/experiments.h ('k') | net/disk_cache/blockfile/file_block.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698