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

Unified Diff: content/public/browser/resource_request_info.h

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
« no previous file with comments | « content/public/browser/resource_controller.h ('k') | content/public/common/common_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/resource_request_info.h
diff --git a/content/public/browser/resource_request_info.h b/content/public/browser/resource_request_info.h
index 61cac09869f4d10bd837114e9f14c8fb2c5abd3c..394493fe7658a12ab44df65107257e28de021313 100644
--- a/content/public/browser/resource_request_info.h
+++ b/content/public/browser/resource_request_info.h
@@ -84,6 +84,10 @@ class ResourceRequestInfo {
// a link).
virtual bool HasUserGesture() const = 0;
+ // True if ResourceController::CancelAndIgnore() was called. For example,
+ // the requested URL may be being loaded by an external program.
+ virtual bool WasIgnoredByHandler() const = 0;
+
// Returns false if there is NOT an associated render view.
virtual bool GetAssociatedRenderView(int* render_process_id,
int* render_view_id) const = 0;
« no previous file with comments | « content/public/browser/resource_controller.h ('k') | content/public/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698