| OLD | NEW |
| 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_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 RequestPriority priority); | 25 RequestPriority priority); |
| 26 | 26 |
| 27 const GURL& url() const { | 27 const GURL& url() const { |
| 28 return url_; | 28 return url_; |
| 29 } | 29 } |
| 30 | 30 |
| 31 int load_flags() const { | 31 int load_flags() const { |
| 32 return load_flags_; | 32 return load_flags_; |
| 33 } | 33 } |
| 34 | 34 |
| 35 virtual Value* ToValue() const; | 35 virtual base::Value* ToValue() const; |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 const GURL url_; | 38 const GURL url_; |
| 39 const std::string method_; | 39 const std::string method_; |
| 40 const int load_flags_; | 40 const int load_flags_; |
| 41 const RequestPriority priority_; | 41 const RequestPriority priority_; |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(URLRequestStartEventParameters); | 43 DISALLOW_COPY_AND_ASSIGN(URLRequestStartEventParameters); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace net | 46 } // namespace net |
| 47 | 47 |
| 48 #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ | 48 #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ |
| OLD | NEW |