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

Unified Diff: content/browser/renderer_host/resource_request_info_impl.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: removed changes related to cancelling with the HANDLED_EXTERNALLY status code 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/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 b823f937e64f05e6abb33056e398d05a250635dd..b231a7079a849a88dc88f1cca9501ed42fa2fb0a 100644
--- a/content/browser/renderer_host/resource_request_info_impl.h
+++ b/content/browser/renderer_host/resource_request_info_impl.h
@@ -80,6 +80,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
virtual ResourceType::Type GetResourceType() const OVERRIDE;
virtual WebKit::WebReferrerPolicy GetReferrerPolicy() const OVERRIDE;
virtual uint64 GetUploadSize() const OVERRIDE;
+ virtual bool HasUserGesture() const OVERRIDE;
virtual bool GetAssociatedRenderView(int* render_process_id,
int* render_view_id) const OVERRIDE;
@@ -130,8 +131,6 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
// Downloads are allowed only as a top level request.
bool allow_download() const { return allow_download_; }
- bool has_user_gesture() const { return has_user_gesture_; }
-
// Whether this is a download.
bool is_download() const { return is_download_; }
void set_is_download(bool download) { is_download_ = download; }

Powered by Google App Engine
This is Rietveld 408576698