summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_internal.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 09:12:59 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 09:12:59 +0000
commit5c7d598adfc690fe676c54f62cd733d25ee20fa8 (patch)
treeab138d9c44fde00390e5f5cc203f292d7aa80815 /chrome/common/render_messages_internal.h
parentca10046545d16cfd705fbfc356d97710f47cedee (diff)
downloadchromium_src-5c7d598adfc690fe676c54f62cd733d25ee20fa8.zip
chromium_src-5c7d598adfc690fe676c54f62cd733d25ee20fa8.tar.gz
chromium_src-5c7d598adfc690fe676c54f62cd733d25ee20fa8.tar.bz2
Reland r52072. Pass notifications to the browser on access to the appcache main resource manifest.
BUG=45230 TEST=browser_tests TBR=vandebo Review URL: http://codereview.chromium.org/2980001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r--chrome/common/render_messages_internal.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 20d5900..b7cda04 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -627,8 +627,9 @@ IPC_BEGIN_MESSAGES(View)
std::string /* message */)
// Notifies the renderer of the fact that AppCache access was blocked.
- IPC_MESSAGE_CONTROL1(AppCacheMsg_ContentBlocked,
- int /* host_id */)
+ IPC_MESSAGE_CONTROL2(AppCacheMsg_ContentBlocked,
+ int /* host_id */,
+ GURL /* manifest_url */)
// Reply to the ViewHostMsg_QueryFormFieldAutoFill message with the
// AutoFill suggestions.
@@ -1264,6 +1265,12 @@ IPC_BEGIN_MESSAGES(ViewHost)
IPC_MESSAGE_ROUTED1(ViewHostMsg_ContentBlocked,
ContentSettingsType /* type of blocked content */)
+ // Tells the browser that a specific Appcache manifest in the current page
+ // was accessed.
+ IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed,
+ GURL /* manifest url */,
+ bool /* blocked by policy */)
+
// Tells the browser that a specific Web database in the current page was
// accessed.
IPC_MESSAGE_ROUTED5(ViewHostMsg_WebDatabaseAccessed,