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

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: incorporated feedback 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.h
diff --git a/content/browser/renderer_host/resource_request_info_impl.h b/content/browser/renderer_host/resource_request_info_impl.h
index b21944c912fed19a877ea496a2a66c82bcbaa062..d37f68aadd97b835a0355f1f3b5b95e422de6489 100644
--- a/content/browser/renderer_host/resource_request_info_impl.h
+++ b/content/browser/renderer_host/resource_request_info_impl.h
@@ -76,9 +76,11 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
virtual WebKit::WebReferrerPolicy GetReferrerPolicy() const OVERRIDE;
virtual uint64 GetUploadSize() const OVERRIDE;
virtual bool HasUserGesture() const OVERRIDE;
+ virtual bool Ignored() const OVERRIDE;
virtual bool GetAssociatedRenderView(int* render_process_id,
int* render_view_id) const OVERRIDE;
+
void AssociateWithRequest(net::URLRequest* request);
GlobalRequestID GetGlobalRequestID() const;
@@ -115,6 +117,8 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
void set_upload_size(uint64 upload_size) { upload_size_ = upload_size; }
+ void set_ignored(bool value) { ignored_ = value; }
+
// The approximate in-memory size (bytes) that we credited this request
// as consuming in |outstanding_requests_memory_cost_map_|.
int memory_cost() const { return memory_cost_; }
@@ -144,6 +148,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool is_download_;
bool allow_download_;
bool has_user_gesture_;
+ bool ignored_;
ResourceType::Type resource_type_;
PageTransition transition_type_;
uint64 upload_size_;

Powered by Google App Engine
This is Rietveld 408576698