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

Side by Side Diff: ppapi/api/ppb_network_proxy.idl

Issue 17004010: PPAPI: Move PPB_NetworkProxy out of Dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Documentation 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/c/dev/ppb_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 /**
7 * This file defines the <code>PPB_NetworkProxy</code> interface.
8 */
9
10 [generate_thunk]
11
12 label Chrome {
13 M29 = 1.0
14 };
15
16 /**
17 * This interface provides a way to determine the appropriate proxy settings
18 * for a given URL.
yzshen1 2013/06/21 06:45:40 For other APIs, I have a paragraph called "Permiss
dmichael (off chromium) 2013/06/21 15:56:08 Yes, definitely, thanks for reminding me.
19 */
20 [singleton]
21 interface PPB_NetworkProxy {
22 /**
23 * Retrieves the proxy that will be used for the given URL. The result will
24 * be a string in PAC format. For more details about PAC format, please see
25 * http://en.wikipedia.org/wiki/Proxy_auto-config
26 *
27 * @param[in] instance A <code>PP_Instance</code> identifying one instance
28 * of a module.
29 *
30 * @param[in] url A string <code>PP_Var</code> containing a URL.
31 *
32 * @param[out] proxy_string A <code>PP_Var</code> that GetProxyForURL will
33 * set upon successful completion. If the call fails, <code>proxy_string
34 * </code> will be unchanged. Otherwise, it will be set to a string <code>
35 * PP_Var</code> containing the appropriate PAC string for <code>url</code>.
36 * If set, <code>proxy_string</code> will have a reference count of 1 which
37 * the plugin must manage.
38 *
39 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
40 * completion.
41 *
42 * @return An int32_t containing an error code from <code>pp_errors.h</code>.
43 */
44 int32_t GetProxyForURL([in] PP_Instance instance,
45 [in] PP_Var url,
46 [out] PP_Var proxy_string,
47 [in] PP_CompletionCallback callback);
48 };
OLDNEW
« no previous file with comments | « ppapi/api/dev/ppb_network_proxy_dev.idl ('k') | ppapi/c/dev/ppb_network_proxy_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698