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

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: revert removing DCHECK from URLRequest::DoCancel Created 8 years, 5 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/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 18db16720af24f0c040e077c7d4f780a87db05d3..3810de0485a4f136709258a52a130df6e26c77f6 100644
--- a/content/public/browser/resource_request_info.h
+++ b/content/public/browser/resource_request_info.h
@@ -88,6 +88,10 @@ class ResourceRequestInfo {
// a link).
virtual bool HasUserGesture() const = 0;
+ // True if the request was canceled due to it being handled by an external
+ // handler.
+ virtual bool HandledExternally() 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;

Powered by Google App Engine
This is Rietveld 408576698