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

Side by Side Diff: ppapi/thunk/ppb_vpn_provider_api.h

Issue 1307173009: rebased ppapi vpnProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: fix compile Created 5 years, 3 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
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev_channel.h ('k') | ppapi/thunk/ppb_vpn_provider_thunk.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 2015 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_THUNK_PPB_VPNPROVIDER_API_H_
6 #define PPAPI_THUNK_PPB_VPNPROVIDER_API_H_
7
8 #include "ppapi/thunk/ppapi_thunk_export.h"
9
10 namespace ppapi {
11 namespace thunk {
12
13 class PPAPI_THUNK_EXPORT PPB_VpnProvider_API {
14 public:
15 virtual ~PPB_VpnProvider_API() {}
16
17 virtual int32_t CreateConfig(
18 const PP_Var& name,
19 PP_Var* id,
20 const scoped_refptr<TrackedCallback>& callback) = 0;
21 virtual int32_t DestroyConfig(
22 const PP_Var& id,
23 const scoped_refptr<TrackedCallback>& callback) = 0;
24 virtual int32_t SetParameters(
25 const PP_Var& address,
26 const PP_Var& broadcast_address,
27 int32_t mtu,
28 const PP_Var& exclusion_list,
29 const PP_Var& inclusion_list,
30 const PP_Var& domain_search,
31 const PP_Var& dns_servers,
32 const scoped_refptr<TrackedCallback>& callback) = 0;
33 virtual int32_t SendPacket(const PP_Var& packet) = 0;
34 virtual int32_t NotifyConnectionStateChanged(
35 PP_VpnProvider_VpnConnectionState status,
36 const scoped_refptr<TrackedCallback>& callback) = 0;
37 virtual int32_t GetPacket(PP_Var* packet,
38 const scoped_refptr<TrackedCallback>& callback) = 0;
39 virtual int32_t GetPlatformMessage(
40 PP_Var* message,
41 const scoped_refptr<TrackedCallback>& callback) = 0;
42 virtual int32_t GetConfigMessage(
43 PP_Var* message,
44 const scoped_refptr<TrackedCallback>& callback) = 0;
45 virtual int32_t GetUIMessage(
46 PP_Var* message,
47 const scoped_refptr<TrackedCallback>& callback) = 0;
48 };
49
50 } // namespace thunk
51 } // namespace ppapi
52
53 #endif // PPAPI_THUNK_PPB_VPNPROVIDER_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev_channel.h ('k') | ppapi/thunk/ppb_vpn_provider_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698