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

Unified Diff: ppapi/proxy/ppb_flash_net_connector_proxy.h

Issue 9836131: Remove PPB_Flash_NetConnector and ENABLE_FLAPPER_HACKS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_flash_net_connector_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_net_connector_proxy.h
diff --git a/ppapi/proxy/ppb_flash_net_connector_proxy.h b/ppapi/proxy/ppb_flash_net_connector_proxy.h
deleted file mode 100644
index 14269d9541072482efec567e18f327436d977705..0000000000000000000000000000000000000000
--- a/ppapi/proxy/ppb_flash_net_connector_proxy.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef PPAPI_PROXY_PPB_FLASH_NET_CONNECTOR_PROXY_H_
-#define PPAPI_PROXY_PPB_FLASH_NET_CONNECTOR_PROXY_H_
-
-#include "base/platform_file.h"
-#include "ipc/ipc_platform_file.h"
-#include "ppapi/c/pp_instance.h"
-#include "ppapi/proxy/interface_proxy.h"
-#include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
-#include "ppapi/utility/completion_callback_factory.h"
-
-namespace ppapi {
-
-class HostResource;
-
-namespace proxy {
-
-class PPB_Flash_NetConnector_Proxy : public InterfaceProxy {
- public:
- PPB_Flash_NetConnector_Proxy(Dispatcher* dispatcher);
- virtual ~PPB_Flash_NetConnector_Proxy();
-
- static PP_Resource CreateProxyResource(PP_Instance instance);
-
- // InterfaceProxy implementation.
- virtual bool OnMessageReceived(const IPC::Message& msg);
-
- private:
- struct ConnectCallbackInfo;
-
- // Plugin->host message handlers.
- void OnMsgCreate(PP_Instance instance,
- ppapi::HostResource* result);
- void OnMsgConnectTcp(const ppapi::HostResource& resource,
- const std::string& host,
- uint16_t port);
- void OnMsgConnectTcpAddress(const ppapi::HostResource& resource_id,
- const std::string& net_address_as_string);
-
- // Host->plugin message handler.
- void OnMsgConnectACK(const ppapi::HostResource& host_resource,
- int32_t result,
- IPC::PlatformFileForTransit handle,
- const std::string& load_addr_as_string,
- const std::string& remote_addr_as_string);
-
- void OnCompleteCallbackInHost(int32_t result, ConnectCallbackInfo* info);
-
- pp::CompletionCallbackFactory<PPB_Flash_NetConnector_Proxy,
- ProxyNonThreadSafeRefCount> callback_factory_;
-};
-
-} // namespace proxy
-} // namespace ppapi
-
-#endif // PPAPI_PROXY_PPB_FLASH_NET_CONNECTOR_PROXY_H_
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_flash_net_connector_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698