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

Unified Diff: chrome/common/render_messages.h

Issue 7068013: Pass frame and toplevel frame security origin for all site data related content settings IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 18304a9ba1b524ca71493594ee116217b09b98d9..8c3470ba611e9bb2ab5d947c2cb6d8cda16c9dc3 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -290,33 +290,37 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_ContentBlocked,
// Sent by the renderer process to check whether access to web databases is
// granted by content settings.
-IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_AllowDatabase,
+IPC_SYNC_MESSAGE_CONTROL5_1(ViewHostMsg_AllowDatabase,
int /* render_view_id */,
GURL /* origin_url */,
+ GURL /* top origin url */,
string16 /* database name */,
string16 /* database display name */,
bool /* allowed */)
// Sent by the renderer process to check whether access to DOM Storage is
// granted by content settings.
-IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_AllowDOMStorage,
+IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_AllowDOMStorage,
int /* render_view_id */,
GURL /* origin_url */,
+ GURL /* top origin url */,
DOMStorageType /* type */,
bool /* allowed */)
// Sent by the renderer process to check whether access to FileSystem is
// granted by content settings.
-IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_AllowFileSystem,
+IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_AllowFileSystem,
int /* render_view_id */,
GURL /* origin_url */,
+ GURL /* top origin url */,
bool /* allowed */)
// Sent by the renderer process to check whether access to Indexed DBis
// granted by content settings.
-IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_AllowIndexedDB,
+IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_AllowIndexedDB,
int /* render_view_id */,
- string16 /* origin_url */,
+ GURL /* origin_url */,
+ GURL /* top origin url */,
string16 /* database name */,
bool /* allowed */)
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | chrome/renderer/content_settings_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698