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 04:00:01 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 04:00:01 +0000
commit71aaa7aa371e39947d951addfcdf32f2cda353ac (patch)
treeab138d9c44fde00390e5f5cc203f292d7aa80815 /chrome/common/render_messages_internal.h
parent6cd36ac0c3138c5c3e741e32dd6f3e3e6dff9d45 (diff)
downloadchromium_src-71aaa7aa371e39947d951addfcdf32f2cda353ac.zip
chromium_src-71aaa7aa371e39947d951addfcdf32f2cda353ac.tar.gz
chromium_src-71aaa7aa371e39947d951addfcdf32f2cda353ac.tar.bz2
Pass notifications to the browser on access to the appcache main resource manifest.
BUG=45230 TEST=browser_tests Review URL: http://codereview.chromium.org/2808046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52072 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,