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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1334 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1334 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
1335 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1335 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
1336 static void Write(Message* m, const param_type& p); | 1336 static void Write(Message* m, const param_type& p); |
1337 static bool Read(const Message* m, void** iter, param_type* p); | 1337 static bool Read(const Message* m, void** iter, param_type* p); |
1338 static void Log(const param_type& p, std::string* l); | 1338 static void Log(const param_type& p, std::string* l); |
1339 }; | 1339 }; |
1340 | 1340 |
1341 } // namespace IPC | 1341 } // namespace IPC |
1342 | 1342 |
1343 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1343 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
OLD | NEW |