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

Side by Side Diff: net/disk_cache/blockfile/mapped_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
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_MAPPED_FILE_H_ 7 #ifndef NET_DISK_CACHE_BLOCKFILE_MAPPED_FILE_H_
8 #define NET_DISK_CACHE_BLOCKFILE_MAPPED_FILE_H_ 8 #define NET_DISK_CACHE_BLOCKFILE_MAPPED_FILE_H_
9 9
10 #include <stddef.h>
11
12 #include "base/macros.h"
10 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
11 #include "net/disk_cache/blockfile/file.h" 14 #include "net/disk_cache/blockfile/file.h"
12 #include "net/disk_cache/blockfile/file_block.h" 15 #include "net/disk_cache/blockfile/file_block.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
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ~ScopedFlush() { 76 ~ScopedFlush() {
74 file_->Flush(); 77 file_->Flush();
75 } 78 }
76 private: 79 private:
77 MappedFile* file_; 80 MappedFile* file_;
78 }; 81 };
79 82
80 } // namespace disk_cache 83 } // namespace disk_cache
81 84
82 #endif // NET_DISK_CACHE_BLOCKFILE_MAPPED_FILE_H_ 85 #endif // NET_DISK_CACHE_BLOCKFILE_MAPPED_FILE_H_
OLDNEW
« no previous file with comments | « net/disk_cache/blockfile/index_table_v3_unittest.cc ('k') | net/disk_cache/blockfile/mapped_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698