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

Unified Diff: content/browser/renderer_host/pepper_message_filter.h

Issue 8036036: Add Pepper API to use UDP (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 3 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
« no previous file with comments | « AUTHORS ('k') | content/browser/renderer_host/pepper_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/pepper_message_filter.h
diff --git a/content/browser/renderer_host/pepper_message_filter.h b/content/browser/renderer_host/pepper_message_filter.h
index e9cd398b8e9624e8489177db3e8d44ac4a57b5d9..6b15733e7211404c1b9a69ba8163901e702c69f8 100644
--- a/content/browser/renderer_host/pepper_message_filter.h
+++ b/content/browser/renderer_host/pepper_message_filter.h
@@ -41,8 +41,11 @@ class PepperMessageFilter : public BrowserMessageFilter {
bool* message_was_ok);
private:
+ template<class SocketType> class FlashSocketManager;
class FlashTCPSocket;
class FlashTCPSocketManager;
+ class FlashUDPSocket;
+ class FlashUDPSocketManager;
#if defined(ENABLE_FLAPPER_HACKS)
// Message handlers.
@@ -94,7 +97,8 @@ class PepperMessageFilter : public BrowserMessageFilter {
// GetHostResolver instead of accessing directly.
net::HostResolver* host_resolver_;
- scoped_ptr<FlashTCPSocketManager> socket_manager_;
+ scoped_ptr<FlashTCPSocketManager> socket_manager_tcp_;
+ scoped_ptr<FlashUDPSocketManager> socket_manager_udp_;
DISALLOW_COPY_AND_ASSIGN(PepperMessageFilter);
};
« no previous file with comments | « AUTHORS ('k') | content/browser/renderer_host/pepper_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698