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

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

Issue 10310124: Implement a ResourceThrottle for URL overriding in Chrome on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix layering problem with unittest Created 8 years, 7 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 b6a73df1dc219a20e86a27af0268b6a316f57a1d..87cc764a0bb860619881b6396600a84dbb24a268 100644
--- a/content/public/browser/resource_request_info.h
+++ b/content/public/browser/resource_request_info.h
@@ -83,6 +83,10 @@ class ResourceRequestInfo {
// is no upload, this will be 0.
virtual uint64 GetUploadSize() const = 0;
+ // True if the request was initiated by a user action (like a tap to follow
+ // a link).
+ virtual bool HasUserGesture() 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