OLD | NEW |
(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 virtual ~PepperVpnProviderResourceHostProxy() {} |
| 18 |
| 19 // Passes an Unbind event to the VpnProviderResouceHost. |
| 20 virtual void SendOnUnbind() = 0; |
| 21 |
| 22 // Sends an IP packet to the VpnProviderResouceHost. |
| 23 virtual void SendOnPacketReceived(const std::vector<char>& data) = 0; |
| 24 }; |
| 25 |
| 26 } // namespace content |
| 27 |
| 28 #endif // CONTENT_PUBLIC_BROWSER_PEPPER_VPN_PROVIDER_RESOURCE_HOST_PROXY_H_ |
OLD | NEW |