Index: ppapi/shared_impl/vpn_provider_util.h |
diff --git a/ppapi/shared_impl/vpn_provider_util.h b/ppapi/shared_impl/vpn_provider_util.h |
index 889bfaa7afc1c6901de9662ebc74ba2b44a78c6f..e74c8de8490725d1015b4f6486d8e808cf86984e 100644 |
--- a/ppapi/shared_impl/vpn_provider_util.h |
+++ b/ppapi/shared_impl/vpn_provider_util.h |
@@ -23,14 +23,15 @@ class PPAPI_SHARED_EXPORT VpnProviderSharedBuffer { |
void SetAvailable(uint32_t id, bool value); |
void* GetBuffer(uint32_t id); |
base::SharedMemoryHandle GetHandle(); |
+ uint32_t GetMaxPacketSize() { return max_packet_size_; } |
private: |
uint32_t capacity_; |
- uint32_t packet_size_; |
+ uint32_t max_packet_size_; |
std::unique_ptr<base::SharedMemory> shm_; |
std::vector<bool> available_; |
bbudge
2016/06/29 15:00:40
I didn't notice before but you should probably dis
adrian.belgun
2016/06/29 15:37:19
Done.
|
}; |
} // namespace ppapi |
-#endif // PPAPI_SHAERD_IMPL_VPN_PROVIDER_UTIL_H_ |
+#endif // PPAPI_SHAERD_IMPL_VPN_PROVIDER_UTIL_H_ |