| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
| 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 286 |
| 287 // The gesture that initiated this navigation. | 287 // The gesture that initiated this navigation. |
| 288 NavigationGesture gesture; | 288 NavigationGesture gesture; |
| 289 | 289 |
| 290 // Contents MIME type of main frame. | 290 // Contents MIME type of main frame. |
| 291 std::string contents_mime_type; | 291 std::string contents_mime_type; |
| 292 | 292 |
| 293 // True if this was a post request. | 293 // True if this was a post request. |
| 294 bool is_post; | 294 bool is_post; |
| 295 | 295 |
| 296 // Whether the content of the frame was replaced with some alternate content | |
| 297 // (this can happen if the resource was insecure). | |
| 298 bool is_content_filtered; | |
| 299 | |
| 300 // Whether the frame navigation resulted in no change to the documents within | 296 // Whether the frame navigation resulted in no change to the documents within |
| 301 // the page. For example, the navigation may have just resulted in scrolling | 297 // the page. For example, the navigation may have just resulted in scrolling |
| 302 // to a named anchor. | 298 // to a named anchor. |
| 303 bool was_within_same_page; | 299 bool was_within_same_page; |
| 304 | 300 |
| 305 // The status code of the HTTP request. | 301 // The status code of the HTTP request. |
| 306 int http_status_code; | 302 int http_status_code; |
| 307 | 303 |
| 308 // Remote address of the socket which fetched this resource. | 304 // Remote address of the socket which fetched this resource. |
| 309 net::HostPortPair socket_address; | 305 net::HostPortPair socket_address; |
| (...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1203 struct ParamTraits<ViewHostMsg_MalwareDOMDetails_Node> { | 1199 struct ParamTraits<ViewHostMsg_MalwareDOMDetails_Node> { |
| 1204 typedef ViewHostMsg_MalwareDOMDetails_Node param_type; | 1200 typedef ViewHostMsg_MalwareDOMDetails_Node param_type; |
| 1205 static void Write(Message* m, const param_type& p); | 1201 static void Write(Message* m, const param_type& p); |
| 1206 static bool Read(const Message* m, void** iter, param_type* p); | 1202 static bool Read(const Message* m, void** iter, param_type* p); |
| 1207 static void Log(const param_type& p, std::string* l); | 1203 static void Log(const param_type& p, std::string* l); |
| 1208 }; | 1204 }; |
| 1209 | 1205 |
| 1210 } // namespace IPC | 1206 } // namespace IPC |
| 1211 | 1207 |
| 1212 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1208 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
| OLD | NEW |