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

Side by Side Diff: net/base/file_stream_net_log_parameters.h

Issue 9288084: Added Net logging to FileStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clarified comments Created 8 years, 10 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 | Annotate | Revision Log
OLDNEW
(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.
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 {
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698