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

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

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_DISK_CACHE_SIMPLE_NET_LOG_PARAMETERS_H_
6 #define NET_DISK_CACHE_SIMPLE_NET_LOG_PARAMETERS_H_
7
8 #include "net/base/net_log.h"
9
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.
12 namespace disk_cache {
13
14 class SimpleEntryImpl;
15
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
18 // outlive the returned callback.
19 net::NetLog::ParametersCallback CreateNetLogSimpleEntryConstructionCallback(
20 const SimpleEntryImpl* entry);
21
22 // Creates a NetLog callback that returns parameters for the result of calling
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
25 // the returned callback.
26 net::NetLog::ParametersCallback CreateNetLogSimpleEntryCreationCallback(
27 const SimpleEntryImpl* entry,
28 int net_error);
29
30 } // namespace disk_cache
31
32 #endif // NET_DISK_CACHE_SIMPLE_NET_LOG_PARAMETERS_H_
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_index_unittest.cc ('k') | net/disk_cache/simple/simple_net_log_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698