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

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: Fixed copyright issue. 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
« no previous file with comments | « net/base/file_stream_metrics.cc ('k') | net/base/file_stream_net_log_parameters.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 // File stream error reporting.
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_errors.h"
14 #include "net/base/net_log.h"
15
16 namespace net {
17
18 // NetLog parameters when a FileStream has an error.
19 class FileStreamErrorParameters : public net::NetLog::EventParameters {
20 public:
21 FileStreamErrorParameters(const std::string& operation,
22 int os_error,
23 net::Error net_error);
24 virtual base::Value* ToValue() const OVERRIDE;
25
26 private:
27 std::string operation_;
28 int os_error_;
29 net::Error net_error_;
30
31 DISALLOW_COPY_AND_ASSIGN(FileStreamErrorParameters);
32 };
33
34 } // namespace net
35
36 #endif // NET_BASE_FILE_STREAM_NET_LOG_PARAMETERS_H_
OLDNEW
« no previous file with comments | « net/base/file_stream_metrics.cc ('k') | net/base/file_stream_net_log_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698