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

Side by Side Diff: ppapi/cpp/dev/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/c/dev/ppb_network_proxy_dev.h ('k') | ppapi/cpp/dev/network_proxy_dev.cc » ('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 #ifndef PPAPI_CPP_NETWORK_PROXY_H_
6 #define PPAPI_CPP_NETWORK_PROXY_H_
7
8 #include <string>
9
10 #include "ppapi/c/dev/ppb_network_proxy_dev.h"
11 #include "ppapi/cpp/completion_callback.h"
12 #include "ppapi/cpp/instance_handle.h"
13
14 namespace pp {
15
16 class NetworkProxy {
17 public:
18 static bool IsAvailable();
19
20 static int32_t GetProxyForURL(
21 const InstanceHandle& instance,
22 const Var& url,
23 const pp::CompletionCallbackWithOutput<Var>& callback);
24 };
25
26 } // namespace pp
27
28 #endif // PPAPI_CPP_NETWORK_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_network_proxy_dev.h ('k') | ppapi/cpp/dev/network_proxy_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698