Chromium Code Reviews| 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..12cb20a59cca0743a7c53124aacf27a58e51dc71 100644 |
| --- a/ppapi/shared_impl/vpn_provider_util.h |
| +++ b/ppapi/shared_impl/vpn_provider_util.h |
| @@ -23,14 +23,17 @@ 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_; } |
|
dcheng
2016/07/04 04:24:07
Nit: for simple accessors, the usual chromium conv
adrian.belgun
2016/07/04 14:28:32
Done.
|
| private: |
| uint32_t capacity_; |
| - uint32_t packet_size_; |
| + uint32_t max_packet_size_; |
| std::unique_ptr<base::SharedMemory> shm_; |
| std::vector<bool> available_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(VpnProviderSharedBuffer); |
| }; |
| } // namespace ppapi |
| -#endif // PPAPI_SHAERD_IMPL_VPN_PROVIDER_UTIL_H_ |
| +#endif // PPAPI_SHAERD_IMPL_VPN_PROVIDER_UTIL_H_ |