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

Side by Side Diff: ppapi/c/dev/ppb_network_proxy_dev.h

Issue 16819002: PPAPI: Introduce PPB_NetworkProxy_Dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 6 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
« no previous file with comments | « ppapi/api/dev/ppb_network_proxy_dev.idl ('k') | ppapi/cpp/dev/network_proxy_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6 /* From dev/ppb_network_proxy_dev.idl modified Thu Jun 6 10:44:17 2013. */
7
8 #ifndef PPAPI_C_DEV_PPB_NETWORK_PROXY_DEV_H_
9 #define PPAPI_C_DEV_PPB_NETWORK_PROXY_DEV_H_
10
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_var.h"
17
18 #define PPB_NETWORKPROXY_DEV_INTERFACE_0_1 "PPB_NetworkProxy(Dev);0.1"
19 #define PPB_NETWORKPROXY_DEV_INTERFACE PPB_NETWORKPROXY_DEV_INTERFACE_0_1
20
21 /**
22 * @file
23 * This file defines the <code>PPB_NetworkProxy_Dev</code> interface.
24 */
25
26
27 /**
28 * @addtogroup Interfaces
29 * @{
30 */
31 struct PPB_NetworkProxy_Dev_0_1 {
32 /**
33 * Retrieves the proxy that will be used for the given URL. The result will
34 * be a string in PAC format. For more details about PAC format, please see
35 * http://en.wikipedia.org/wiki/Proxy_auto-config
36 */
37 int32_t (*GetProxyForURL)(PP_Instance instance,
38 struct PP_Var url,
39 struct PP_Var* proxy_string,
40 struct PP_CompletionCallback callback);
41 };
42
43 typedef struct PPB_NetworkProxy_Dev_0_1 PPB_NetworkProxy_Dev;
44 /**
45 * @}
46 */
47
48 #endif /* PPAPI_C_DEV_PPB_NETWORK_PROXY_DEV_H_ */
49
OLDNEW
« no previous file with comments | « ppapi/api/dev/ppb_network_proxy_dev.idl ('k') | ppapi/cpp/dev/network_proxy_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698