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

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

Issue 2562113002: Fix header guards in //net. (Closed)
Patch Set: Created 4 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/net_log_parameters.h ('k') | net/dns/address_sorter_posix.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 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_NET_LOG_PARAMETERS_H_ 5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_NET_LOG_PARAMETERS_H_
6 #define NET_DISK_CACHE_SIMPLE_NET_LOG_PARAMETERS_H_ 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_NET_LOG_PARAMETERS_H_
7 7
8 #include "net/log/net_log_parameters_callback.h" 8 #include "net/log/net_log_parameters_callback.h"
9 9
10 // This file augments the functions in net/disk_cache/net_log_parameters.h to 10 // This file augments the functions in net/disk_cache/net_log_parameters.h to
11 // include ones that deal with specifics of the Simple Cache backend. 11 // include ones that deal with specifics of the Simple Cache backend.
12 namespace disk_cache { 12 namespace disk_cache {
13 13
14 class SimpleEntryImpl; 14 class SimpleEntryImpl;
15 15
16 // Creates a NetLog callback that returns parameters for the construction of a 16 // Creates a NetLog callback that returns parameters for the construction of a
17 // SimpleEntryImpl. Contains the entry's hash. |entry| can't be NULL and must 17 // SimpleEntryImpl. Contains the entry's hash. |entry| can't be NULL and must
18 // outlive the returned callback. 18 // outlive the returned callback.
19 net::NetLogParametersCallback CreateNetLogSimpleEntryConstructionCallback( 19 net::NetLogParametersCallback CreateNetLogSimpleEntryConstructionCallback(
20 const SimpleEntryImpl* entry); 20 const SimpleEntryImpl* entry);
21 21
22 // Creates a NetLog callback that returns parameters for the result of calling 22 // Creates a NetLog callback that returns parameters for the result of calling
23 // |CreateEntry| or |OpenEntry| on a SimpleEntryImpl. Contains the |net_error| 23 // |CreateEntry| or |OpenEntry| on a SimpleEntryImpl. Contains the |net_error|
24 // and, if successful, the entry's key. |entry| can't be NULL and must outlive 24 // and, if successful, the entry's key. |entry| can't be NULL and must outlive
25 // the returned callback. 25 // the returned callback.
26 net::NetLogParametersCallback CreateNetLogSimpleEntryCreationCallback( 26 net::NetLogParametersCallback CreateNetLogSimpleEntryCreationCallback(
27 const SimpleEntryImpl* entry, 27 const SimpleEntryImpl* entry,
28 int net_error); 28 int net_error);
29 29
30 } // namespace disk_cache 30 } // namespace disk_cache
31 31
32 #endif // NET_DISK_CACHE_SIMPLE_NET_LOG_PARAMETERS_H_ 32 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_NET_LOG_PARAMETERS_H_
OLDNEW
« no previous file with comments | « net/disk_cache/net_log_parameters.h ('k') | net/dns/address_sorter_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698