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

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

Issue 6338002: net: Remove typedef net::URLRequestContext URLRequestContext; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for real Created 9 years, 11 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
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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 452
453 // Unique ID of process that originated this request. For normal renderer 453 // Unique ID of process that originated this request. For normal renderer
454 // requests, this will be the ID of the renderer. For plugin requests routed 454 // requests, this will be the ID of the renderer. For plugin requests routed
455 // through the renderer, this will be the plugin's ID. 455 // through the renderer, this will be the plugin's ID.
456 int origin_child_id; 456 int origin_child_id;
457 457
458 // What this resource load is for (main frame, sub-frame, sub-resource, 458 // What this resource load is for (main frame, sub-frame, sub-resource,
459 // object). 459 // object).
460 ResourceType::Type resource_type; 460 ResourceType::Type resource_type;
461 461
462 // Used by plugin->browser requests to get the correct URLRequestContext. 462 // Used by plugin->browser requests to get the correct net::URLRequestContext.
463 uint32 request_context; 463 uint32 request_context;
464 464
465 // Indicates which frame (or worker context) the request is being loaded into, 465 // Indicates which frame (or worker context) the request is being loaded into,
466 // or kNoHostId. 466 // or kNoHostId.
467 int appcache_host_id; 467 int appcache_host_id;
468 468
469 // Optional upload data (may be null). 469 // Optional upload data (may be null).
470 scoped_refptr<net::UploadData> upload_data; 470 scoped_refptr<net::UploadData> upload_data;
471 471
472 bool download_to_file; 472 bool download_to_file;
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { 1135 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> {
1136 typedef ViewHostMsg_AccessibilityNotification_Params param_type; 1136 typedef ViewHostMsg_AccessibilityNotification_Params param_type;
1137 static void Write(Message* m, const param_type& p); 1137 static void Write(Message* m, const param_type& p);
1138 static bool Read(const Message* m, void** iter, param_type* p); 1138 static bool Read(const Message* m, void** iter, param_type* p);
1139 static void Log(const param_type& p, std::string* l); 1139 static void Log(const param_type& p, std::string* l);
1140 }; 1140 };
1141 1141
1142 } // namespace IPC 1142 } // namespace IPC
1143 1143
1144 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 1144 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698