OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 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 // File error statistics gathering. | |
mmenke
2012/01/30 22:38:39
This comment is incorrect, since we don't gather a
ahendrickson
2012/01/31 20:12:40
Fixed.
| |
6 | |
7 #ifndef NET_BASE_FILE_STREAM_NET_LOG_PARAMETERS_H_ | |
8 #define NET_BASE_FILE_STREAM_NET_LOG_PARAMETERS_H_ | |
9 #pragma once | |
10 | |
11 #include <string> | |
12 | |
13 #include "net/base/net_log.h" | |
14 | |
15 namespace net { | |
16 | |
17 // NetLog parameters when a FileStream has an error. | |
18 class FileStreamErrorParameters : public net::NetLog::EventParameters { | |
rvargas (doing something else)
2012/01/30 23:11:38
shouldn't the file be named file_stream_error_para
ahendrickson
2012/01/31 20:12:40
This is the pattern used elsewhere -- this file co
| |
19 public: | |
20 FileStreamErrorParameters(const std::string& operation, | |
21 int system_error_code); | |
22 virtual base::Value* ToValue() const OVERRIDE; | |
23 | |
24 private: | |
25 std::string operation_; | |
26 int system_error_code_; | |
27 | |
28 DISALLOW_COPY_AND_ASSIGN(FileStreamErrorParameters); | |
29 }; | |
30 | |
31 } // namespace net | |
32 | |
33 #endif // NET_BASE_FILE_STREAM_NET_LOG_PARAMETERS_H_ | |
OLD | NEW |