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

Side by Side Diff: net/http/http_net_log_params.h

Issue 8568021: Add OVERRIDE to net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net only Created 9 years, 1 month 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/http/http_cache_transaction.h ('k') | net/http/http_network_layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_NET_LOG_PARAMS_H_ 5 #ifndef NET_HTTP_HTTP_NET_LOG_PARAMS_H_
6 #define NET_HTTP_HTTP_NET_LOG_PARAMS_H_ 6 #define NET_HTTP_HTTP_NET_LOG_PARAMS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 28
29 const HttpRequestHeaders& GetHeaders() const { 29 const HttpRequestHeaders& GetHeaders() const {
30 return headers_; 30 return headers_;
31 } 31 }
32 32
33 const std::string& GetLine() const { 33 const std::string& GetLine() const {
34 return line_; 34 return line_;
35 } 35 }
36 36
37 // NetLog::EventParameters 37 // NetLog::EventParameters
38 virtual base::Value* ToValue() const; 38 virtual base::Value* ToValue() const OVERRIDE;
39 39
40 private: 40 private:
41 virtual ~NetLogHttpRequestParameter(); 41 virtual ~NetLogHttpRequestParameter();
42 42
43 const std::string line_; 43 const std::string line_;
44 HttpRequestHeaders headers_; 44 HttpRequestHeaders headers_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(NetLogHttpRequestParameter); 46 DISALLOW_COPY_AND_ASSIGN(NetLogHttpRequestParameter);
47 }; 47 };
48 48
49 class NetLogHttpResponseParameter : public NetLog::EventParameters { 49 class NetLogHttpResponseParameter : public NetLog::EventParameters {
50 public: 50 public:
51 explicit NetLogHttpResponseParameter( 51 explicit NetLogHttpResponseParameter(
52 const scoped_refptr<HttpResponseHeaders>& headers); 52 const scoped_refptr<HttpResponseHeaders>& headers);
53 53
54 const HttpResponseHeaders& GetHeaders() const { 54 const HttpResponseHeaders& GetHeaders() const {
55 return *headers_; 55 return *headers_;
56 } 56 }
57 57
58 // NetLog::EventParameters 58 // NetLog::EventParameters
59 virtual base::Value* ToValue() const; 59 virtual base::Value* ToValue() const OVERRIDE;
60 60
61 private: 61 private:
62 virtual ~NetLogHttpResponseParameter(); 62 virtual ~NetLogHttpResponseParameter();
63 63
64 const scoped_refptr<HttpResponseHeaders> headers_; 64 const scoped_refptr<HttpResponseHeaders> headers_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(NetLogHttpResponseParameter); 66 DISALLOW_COPY_AND_ASSIGN(NetLogHttpResponseParameter);
67 }; 67 };
68 68
69 } // namespace net 69 } // namespace net
70 70
71 #endif // NET_HTTP_HTTP_NET_LOG_PARAMS_H_ 71 #endif // NET_HTTP_HTTP_NET_LOG_PARAMS_H_
OLDNEW
« no previous file with comments | « net/http/http_cache_transaction.h ('k') | net/http/http_network_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698