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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 9981015: Add an interface for Flash to clear its data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // PPP_NetworkState_Dev. 237 // PPP_NetworkState_Dev.
238 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, 238 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState,
239 bool /* online */) 239 bool /* online */)
240 240
241 // Sent in both directions to see if the other side supports the given 241 // Sent in both directions to see if the other side supports the given
242 // interface. 242 // interface.
243 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, 243 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface,
244 std::string /* interface_name */, 244 std::string /* interface_name */,
245 bool /* result */) 245 bool /* result */)
246 246
247 // Instructs the plugin to clear data for the given site & time. The plugin
248 // process will respond with PpapiHostMsg_ClearSiteDataResult. This is used
249 // for Flash.
250 IPC_MESSAGE_CONTROL4(PpapiMsg_ClearSiteData,
251 FilePath /* plugin_data_path */,
252 std::string /* site */,
253 uint64 /* flags */,
254 uint64 /* max_age */)
255 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult,
256 bool /* success */)
257
247 // Broker Process. 258 // Broker Process.
248
249 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, 259 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin,
250 PP_Instance /* instance */, 260 PP_Instance /* instance */,
251 IPC::PlatformFileForTransit /* handle */, 261 IPC::PlatformFileForTransit /* handle */,
252 int32_t /* result */) 262 int32_t /* result */)
253 263
254 // PPB_Audio. 264 // PPB_Audio.
255 265
256 // Notifies the result of the audio stream create call. This is called in 266 // Notifies the result of the audio stream create call. This is called in
257 // both error cases and in the normal success case. These cases are 267 // both error cases and in the normal success case. These cases are
258 // differentiated by the result code, which is one of the standard PPAPI 268 // differentiated by the result code, which is one of the standard PPAPI
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 // PPB_X509Certificate_Private 1315 // PPB_X509Certificate_Private
1306 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1316 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1307 std::vector<char> /* der */, 1317 std::vector<char> /* der */,
1308 bool /* succeeded */, 1318 bool /* succeeded */,
1309 ppapi::PPB_X509Certificate_Fields /* result */) 1319 ppapi::PPB_X509Certificate_Fields /* result */)
1310 1320
1311 // PPB_Font. 1321 // PPB_Font.
1312 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1322 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1313 std::string /* result */) 1323 std::string /* result */)
1314 #endif // !defined(OS_NACL) 1324 #endif // !defined(OS_NACL)
OLDNEW
« ppapi/api/ppb_mouse_cursor.idl ('K') | « ppapi/c/private/ppp_flash_browser_operations.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698