Chromium Code Reviews| Index: content/public/browser/pepper_vpn_provider_resource_host_proxy.h |
| diff --git a/content/public/browser/pepper_vpn_provider_resource_host_proxy.h b/content/public/browser/pepper_vpn_provider_resource_host_proxy.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a9ea0b6dc24ba536bb7bdd174c6a69859d5c5a91 |
| --- /dev/null |
| +++ b/content/public/browser/pepper_vpn_provider_resource_host_proxy.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_PUBLIC_BROWSER_PEPPER_VPN_PROVIDER_RESOURCE_HOST_PROXY_H_ |
| +#define CONTENT_PUBLIC_BROWSER_PEPPER_VPN_PROVIDER_RESOURCE_HOST_PROXY_H_ |
| + |
| +#include <vector> |
| + |
| +#include "content/common/content_export.h" |
| + |
| +namespace content { |
| + |
| +// Describes interface for communication with the VpnProviderResouceHost. |
| +class CONTENT_EXPORT PepperVpnProviderResourceHostProxy { |
| + public: |
| + // Passes an Unbind event to the VpnProviderResouceHost. |
| + virtual void SendOnUnbind() = 0; |
| + |
| + // Sends an IP packet to the VpnProviderResouceHost. |
| + virtual void SendOnPacketReceived(const std::vector<char>& data) = 0; |
| + |
| + 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.
|
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_PEPPER_VPN_PROVIDER_RESOURCE_HOST_PROXY_H_ |