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

Unified Diff: content/common/resource_messages.h

Issue 9808029: Prepending view-source: does not load the source of the userscript. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: allow_download_(true) Created 8 years, 8 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/common/resource_dispatcher_unittest.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index 0bef1d095351f6e447687ff86a9d9a635af9b879..94059435d0e852929a2a294ba2a3b1fed0e6b65e 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -122,6 +122,9 @@ IPC_STRUCT_BEGIN(ResourceHostMsg_Request)
// Unless this refers to a transferred navigation, these values are -1 and -1.
IPC_STRUCT_MEMBER(int, transferred_request_child_id)
IPC_STRUCT_MEMBER(int, transferred_request_request_id)
+
+ // Whether or not we should allow the URL to download.
+ IPC_STRUCT_MEMBER(bool, allow_download)
IPC_STRUCT_END()
// Resource messages sent from the browser to the renderer.
« no previous file with comments | « content/common/resource_dispatcher_unittest.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698