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

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

Issue 10640019: Remove the HANDLED_EXTERNALLY status code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: hack, hack, hack Created 8 years, 6 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.h
diff --git a/content/browser/renderer_host/resource_request_info_impl.h b/content/browser/renderer_host/resource_request_info_impl.h
index 38a926dab9583eca13ccac3a222523afdcc05ca1..0126b68071d253469f3c0d761241b9475df63aab 100644
--- a/content/browser/renderer_host/resource_request_info_impl.h
+++ b/content/browser/renderer_host/resource_request_info_impl.h
@@ -77,6 +77,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
virtual WebKit::WebReferrerPolicy GetReferrerPolicy() const OVERRIDE;
virtual uint64 GetUploadSize() const OVERRIDE;
virtual bool HasUserGesture() const OVERRIDE;
+ virtual bool GetHandledExternally() const OVERRIDE;
virtual bool GetAssociatedRenderView(int* render_process_id,
int* render_view_id) const OVERRIDE;
@@ -121,6 +122,9 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
int memory_cost() const { return memory_cost_; }
void set_memory_cost(int cost) { memory_cost_ = cost; }
+ bool handled_externally() const { return handled_externally_; }
+ void set_handled_externally(bool value) { handled_externally_ = value; }
+
// We hold a reference to the requested blob data to ensure it doesn't
// get finally released prior to the net::URLRequestJob being started.
webkit_blob::BlobData* requested_blob_data() const {
@@ -149,6 +153,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
PageTransition transition_type_;
uint64 upload_size_;
int memory_cost_;
+ bool handled_externally_;
scoped_refptr<webkit_blob::BlobData> requested_blob_data_;
WebKit::WebReferrerPolicy referrer_policy_;
ResourceContext* context_;

Powered by Google App Engine
This is Rietveld 408576698