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

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: Respond to reviews. 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..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_

Powered by Google App Engine
This is Rietveld 408576698