summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 04:17:40 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 04:17:40 +0000
commitf7c6f9a649b9f1da1793f1e38f4fbf1fb891c8a4 (patch)
treed21ad2ee50e3312d964876a7c81a9cabddfe25f8 /ppapi
parent8df71985b7a6c86da522773b0f3acc5c6ccf3d56 (diff)
downloadchromium_src-f7c6f9a649b9f1da1793f1e38f4fbf1fb891c8a4.zip
chromium_src-f7c6f9a649b9f1da1793f1e38f4fbf1fb891c8a4.tar.gz
chromium_src-f7c6f9a649b9f1da1793f1e38f4fbf1fb891c8a4.tar.bz2
Hook up the network status notifications to out-of-process Pepper plugins.
This is not implemented for in-process plugins. That requires a completely separate implementation and isn't required now. TEST=manual Review URL: http://codereview.chromium.org/7357007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/proxy/ppapi_messages.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index 1fadfad..0eb8258 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -114,6 +114,11 @@ IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_ReserveInstanceId,
IPC_MESSAGE_CONTROL1(PpapiMsg_SetPreferences,
::ppapi::Preferences)
+// Network state notification from the browser for implementing
+// PPP_NetworkState_Dev.
+IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState,
+ bool /* online */)
+
// Sent in both directions to see if the other side supports the given
// interface.
IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface,