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

Side by Side Diff: content/public/browser/pepper_vpn_provider_resource_host_proxy.h

Issue 1988613005: ppapi: PPB_VpnProvider: Implement Service Helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-permission
Patch Set: Pass VpnServiceProxy using unique_ptr. Created 4 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
OLDNEW
(Empty)
1 // Copyright 2016 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 CONTENT_PUBLIC_BROWSER_PEPPER_VPN_PROVIDER_RESOURCE_HOST_PROXY_H_
6 #define CONTENT_PUBLIC_BROWSER_PEPPER_VPN_PROVIDER_RESOURCE_HOST_PROXY_H_
7
8 #include <vector>
9
10 #include "content/common/content_export.h"
11
12 namespace content {
13
14 // Describes interface for communication with the VpnProviderResouceHost.
15 class CONTENT_EXPORT PepperVpnProviderResourceHostProxy {
16 public:
17 // Passes an Unbind event to the VpnProviderResouceHost.
18 virtual void SendOnUnbind() = 0;
19
20 // Sends an IP packet to the VpnProviderResouceHost.
21 virtual void SendOnPacketReceived(const std::vector<char>& data) = 0;
22
23 virtual ~PepperVpnProviderResourceHostProxy() {}
ncarter (slow) 2016/06/20 20:01:55 Within the public: section, the destructor should
adrian.belgun 2016/06/21 08:08:16 Done.
24 };
25
26 } // namespace content
27
28 #endif // CONTENT_PUBLIC_BROWSER_PEPPER_VPN_PROVIDER_RESOURCE_HOST_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698