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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_ENTRY_OPERATION_H_ 5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_
6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_ 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "net/base/completion_callback.h" 11 #include "net/base/completion_callback.h"
12 #include "net/log/net_log.h"
13 12
14 namespace net { 13 namespace net {
15 class IOBuffer; 14 class IOBuffer;
16 } 15 }
17 16
18 namespace disk_cache { 17 namespace disk_cache {
19 18
20 class Entry; 19 class Entry;
21 class SimpleEntryImpl; 20 class SimpleEntryImpl;
22 21
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // Used only in write operations. 150 // Used only in write operations.
152 const bool truncate_; 151 const bool truncate_;
153 const bool optimistic_; 152 const bool optimistic_;
154 // Used only in SimpleCache.ReadIsParallelizable histogram. 153 // Used only in SimpleCache.ReadIsParallelizable histogram.
155 const bool alone_in_queue_; 154 const bool alone_in_queue_;
156 }; 155 };
157 156
158 } // namespace disk_cache 157 } // namespace disk_cache
159 158
160 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_ 159 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698