| 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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 // to update our insecure content state. | 438 // to update our insecure content state. |
| 439 std::string frame_origin; | 439 std::string frame_origin; |
| 440 | 440 |
| 441 // The origin of the main frame (top-level frame) that is associated with this | 441 // The origin of the main frame (top-level frame) that is associated with this |
| 442 // request. This is used to update our insecure content state. | 442 // request. This is used to update our insecure content state. |
| 443 std::string main_frame_origin; | 443 std::string main_frame_origin; |
| 444 | 444 |
| 445 // Additional HTTP request headers. | 445 // Additional HTTP request headers. |
| 446 std::string headers; | 446 std::string headers; |
| 447 | 447 |
| 448 // URLRequest load flags (0 by default). | 448 // net::URLRequest load flags (0 by default). |
| 449 int load_flags; | 449 int load_flags; |
| 450 | 450 |
| 451 // Unique ID of process that originated this request. For normal renderer | 451 // Unique ID of process that originated this request. For normal renderer |
| 452 // requests, this will be the ID of the renderer. For plugin requests routed | 452 // requests, this will be the ID of the renderer. For plugin requests routed |
| 453 // through the renderer, this will be the plugin's ID. | 453 // through the renderer, this will be the plugin's ID. |
| 454 int origin_child_id; | 454 int origin_child_id; |
| 455 | 455 |
| 456 // What this resource load is for (main frame, sub-frame, sub-resource, | 456 // What this resource load is for (main frame, sub-frame, sub-resource, |
| 457 // object). | 457 // object). |
| 458 ResourceType::Type resource_type; | 458 ResourceType::Type resource_type; |
| (...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1328 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
| 1329 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1329 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
| 1330 static void Write(Message* m, const param_type& p); | 1330 static void Write(Message* m, const param_type& p); |
| 1331 static bool Read(const Message* m, void** iter, param_type* p); | 1331 static bool Read(const Message* m, void** iter, param_type* p); |
| 1332 static void Log(const param_type& p, std::string* l); | 1332 static void Log(const param_type& p, std::string* l); |
| 1333 }; | 1333 }; |
| 1334 | 1334 |
| 1335 } // namespace IPC | 1335 } // namespace IPC |
| 1336 | 1336 |
| 1337 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1337 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
| OLD | NEW |