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

Side by Side Diff: chrome/common/render_messages_params.h

Issue 6328010: Fix Task Manager to correctly display network usage of plug-in processes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Redo patch set for changes to trunk. Created 9 years, 10 months 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 | « chrome/common/child_process_info.h ('k') | chrome/common/render_messages_params.cc » ('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) 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 // The origin of the main frame (top-level frame) that is associated with this 449 // The origin of the main frame (top-level frame) that is associated with this
450 // request. This is used to update our insecure content state. 450 // request. This is used to update our insecure content state.
451 std::string main_frame_origin; 451 std::string main_frame_origin;
452 452
453 // Additional HTTP request headers. 453 // Additional HTTP request headers.
454 std::string headers; 454 std::string headers;
455 455
456 // net::URLRequest load flags (0 by default). 456 // net::URLRequest load flags (0 by default).
457 int load_flags; 457 int load_flags;
458 458
459 // Unique ID of process that originated this request. For normal renderer 459 // Process ID from which this request originated, or zero if it originated
460 // requests, this will be the ID of the renderer. For plugin requests routed 460 // in the renderer itself.
461 // through the renderer, this will be the plugin's ID. 461 int origin_pid;
462 int origin_child_id;
463 462
464 // What this resource load is for (main frame, sub-frame, sub-resource, 463 // What this resource load is for (main frame, sub-frame, sub-resource,
465 // object). 464 // object).
466 ResourceType::Type resource_type; 465 ResourceType::Type resource_type;
467 466
468 // Used by plugin->browser requests to get the correct net::URLRequestContext. 467 // Used by plugin->browser requests to get the correct net::URLRequestContext.
469 uint32 request_context; 468 uint32 request_context;
470 469
471 // Indicates which frame (or worker context) the request is being loaded into, 470 // Indicates which frame (or worker context) the request is being loaded into,
472 // or kNoHostId. 471 // or kNoHostId.
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { 1151 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> {
1153 typedef ViewHostMsg_AccessibilityNotification_Params param_type; 1152 typedef ViewHostMsg_AccessibilityNotification_Params param_type;
1154 static void Write(Message* m, const param_type& p); 1153 static void Write(Message* m, const param_type& p);
1155 static bool Read(const Message* m, void** iter, param_type* p); 1154 static bool Read(const Message* m, void** iter, param_type* p);
1156 static void Log(const param_type& p, std::string* l); 1155 static void Log(const param_type& p, std::string* l);
1157 }; 1156 };
1158 1157
1159 } // namespace IPC 1158 } // namespace IPC
1160 1159
1161 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 1160 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
OLDNEW
« no previous file with comments | « chrome/common/child_process_info.h ('k') | chrome/common/render_messages_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698