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

Side by Side Diff: net/disk_cache/simple/simple_index_delegate.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/simple/simple_index.cc ('k') | net/disk_cache/simple/simple_index_file.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) 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_INDEX_DELEGATE_H_ 5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_DELEGATE_H_
6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_DELEGATE_H_ 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_DELEGATE_H_
7 7
8 #include <stdint.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "net/base/completion_callback.h" 12 #include "net/base/completion_callback.h"
11 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
12 14
13 namespace disk_cache { 15 namespace disk_cache {
14 16
15 class NET_EXPORT_PRIVATE SimpleIndexDelegate { 17 class NET_EXPORT_PRIVATE SimpleIndexDelegate {
16 public: 18 public:
17 virtual ~SimpleIndexDelegate() {} 19 virtual ~SimpleIndexDelegate() {}
18 20
19 // Dooms all entries in |entries|, calling |callback| with the result 21 // Dooms all entries in |entries|, calling |callback| with the result
20 // asynchronously. |entries| is mutated in an undefined way by this call, 22 // asynchronously. |entries| is mutated in an undefined way by this call,
21 // for efficiency. 23 // for efficiency.
22 virtual void DoomEntries(std::vector<uint64>* entry_hashes, 24 virtual void DoomEntries(std::vector<uint64_t>* entry_hashes,
23 const net::CompletionCallback& callback) = 0; 25 const net::CompletionCallback& callback) = 0;
24 }; 26 };
25 27
26 } // namespace disk_cache 28 } // namespace disk_cache
27 29
28 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_DELEGATE_H_ 30 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_INDEX_DELEGATE_H_
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_index.cc ('k') | net/disk_cache/simple/simple_index_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698