Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Unified Diff: ppapi/shared_impl/vpn_provider_util.h

Issue 1735473002: ppapi: PPB_VpnProvider: Implement Resource Host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-nacl-sdk
Patch Set: Add packet size range checking. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..096778a83fa263e3b9c20522c0eaf6a98b453610 100644
--- a/ppapi/shared_impl/vpn_provider_util.h
+++ b/ppapi/shared_impl/vpn_provider_util.h
@@ -23,6 +23,7 @@ class PPAPI_SHARED_EXPORT VpnProviderSharedBuffer {
void SetAvailable(uint32_t id, bool value);
void* GetBuffer(uint32_t id);
base::SharedMemoryHandle GetHandle();
+ uint32_t GetMaxPacketSize();
bbudge 2016/06/23 18:10:23 implement inline
adrian.belgun 2016/06/24 13:19:37 Done.
private:
uint32_t capacity_;

Powered by Google App Engine
This is Rietveld 408576698