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

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

Issue 10640019: Remove the HANDLED_EXTERNALLY status code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase + fix nits Created 8 years, 3 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 c1f243785d407ad231b47eac9bd095f368400a0a..772535320410c8de07ca721d5e20ffe15e85fda3 100644
--- a/content/browser/renderer_host/resource_request_info_impl.cc
+++ b/content/browser/renderer_host/resource_request_info_impl.cc
@@ -109,6 +109,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
is_download_(is_download),
allow_download_(allow_download),
has_user_gesture_(has_user_gesture),
+ was_ignored_by_handler_(false),
resource_type_(resource_type),
transition_type_(transition_type),
memory_cost_(0),
@@ -167,6 +168,10 @@ bool ResourceRequestInfoImpl::HasUserGesture() const {
return has_user_gesture_;
}
+bool ResourceRequestInfoImpl::WasIgnoredByHandler() const {
+ return was_ignored_by_handler_;
+}
+
bool ResourceRequestInfoImpl::GetAssociatedRenderView(
int* render_process_id,
int* render_view_id) const {
« no previous file with comments | « content/browser/renderer_host/resource_request_info_impl.h ('k') | content/browser/renderer_host/sync_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698