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

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: Removed comments. Created 8 years, 9 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/common/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index 0bef1d095351f6e447687ff86a9d9a635af9b879..f2870f88e0f6c2f22c9f17a01be39d658e6822b4 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -58,6 +58,9 @@ IPC_STRUCT_BEGIN(ResourceHostMsg_Request)
// The requested URL.
IPC_STRUCT_MEMBER(GURL, url)
+ // Whether or not we should allow the URL to download.
+ IPC_STRUCT_MEMBER(bool, allow_download)
darin (slow to review) 2012/04/03 21:56:20 any rhyme or reason for inserting this field here
+
// Usually the URL of the document in the top-level window, which may be
// checked by the third-party cookie blocking policy. Leaving it empty may
// lead to undesired cookie blocking. Third-party cookie blocking can be

Powered by Google App Engine
This is Rietveld 408576698