Move AsyncPolicyProvider, etc. to components/policy/.
[chromium-blink-merge.git] / net / base / file_stream_net_log_parameters.h
blob09f96c8750e30de8999493ec336890467b33bae6
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
3 // found in the LICENSE file.
5 // File stream error reporting.
7 #ifndef NET_BASE_FILE_STREAM_NET_LOG_PARAMETERS_H_
8 #define NET_BASE_FILE_STREAM_NET_LOG_PARAMETERS_H_
10 #include <string>
12 #include "net/base/file_stream_metrics.h"
13 #include "net/base/net_errors.h"
14 #include "net/base/net_log.h"
16 namespace net {
18 // Creates NetLog parameters when a FileStream has an error.
19 base::Value* NetLogFileStreamErrorCallback(
20 FileErrorSource source,
21 int os_error,
22 net::Error net_error,
23 NetLog::LogLevel log_level);
25 } // namespace net
27 #endif // NET_BASE_FILE_STREAM_NET_LOG_PARAMETERS_H_