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

Unified Diff: net/url_request/url_request.h

Issue 18541: Add a constraint on how many requests can be outstanding for any given render (browser-side). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/net_error_list.h ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
===================================================================
--- net/url_request/url_request.h (revision 9239)
+++ net/url_request/url_request.h (working copy)
@@ -252,6 +252,9 @@
// Set the upload data directly.
void set_upload(net::UploadData* upload) { upload_ = upload; }
+ // Get the upload data directly.
+ net::UploadData* get_upload() { return upload_.get(); }
+
// Returns true if the request has a non-empty message body to upload.
bool has_upload() const { return upload_ != NULL; }
@@ -268,6 +271,8 @@
// call it later.
void SetExtraRequestHeaders(const std::string& headers);
+ const std::string& extra_request_headers() { return extra_request_headers_; }
+
// Returns the current load state for the request.
net::LoadState GetLoadState() const;
« no previous file with comments | « net/base/net_error_list.h ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698