Chromium Code Reviews| 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 // 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_ | |
| OLD | NEW |