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

Unified Diff: content/browser/renderer_host/resource_request_info_impl.cc

Issue 10825073: Stop using ScopedAllowIO in content::ResourceDispatcherHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove const Created 8 years, 4 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
Index: content/browser/renderer_host/resource_request_info_impl.cc
diff --git a/content/browser/renderer_host/resource_request_info_impl.cc b/content/browser/renderer_host/resource_request_info_impl.cc
index c063d1dae6b24677e1f71fdd540da3a9001eb704..c1f243785d407ad231b47eac9bd095f368400a0a 100644
--- a/content/browser/renderer_host/resource_request_info_impl.cc
+++ b/content/browser/renderer_host/resource_request_info_impl.cc
@@ -41,7 +41,6 @@ void ResourceRequestInfo::AllocateForTesting(
0, // parent_frame_id
resource_type, // resource_type
PAGE_TRANSITION_LINK, // transition_type
- 0, // upload_size
false, // is_download
true, // allow_download
false, // has_user_gesture
@@ -91,7 +90,6 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
int64 parent_frame_id,
ResourceType::Type resource_type,
PageTransition transition_type,
- uint64 upload_size,
bool is_download,
bool allow_download,
bool has_user_gesture,
@@ -113,7 +111,6 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
has_user_gesture_(has_user_gesture),
resource_type_(resource_type),
transition_type_(transition_type),
- upload_size_(upload_size),
memory_cost_(0),
referrer_policy_(referrer_policy),
context_(context) {
@@ -166,10 +163,6 @@ WebKit::WebReferrerPolicy ResourceRequestInfoImpl::GetReferrerPolicy() const {
return referrer_policy_;
}
-uint64 ResourceRequestInfoImpl::GetUploadSize() const {
- return upload_size_;
-}
-
bool ResourceRequestInfoImpl::HasUserGesture() const {
return has_user_gesture_;
}
« no previous file with comments | « content/browser/renderer_host/resource_request_info_impl.h ('k') | content/public/browser/resource_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698