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

Unified Diff: ppapi/cpp/private/flash_udp_socket.h

Issue 8561033: Pepper: Add remaining Flash-specific C++ Pepper wrappers to ppapi_cpp.gypi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month 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/cpp/private/flash_net_connector.cc ('k') | ppapi/cpp/private/flash_udp_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/flash_udp_socket.h
diff --git a/ppapi/cpp/private/flash_udp_socket.h b/ppapi/cpp/private/flash_udp_socket.h
deleted file mode 100644
index b4b223e915567cc537adb593d8526736aa5f6fdd..0000000000000000000000000000000000000000
--- a/ppapi/cpp/private/flash_udp_socket.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2011 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_CPP_PRIVATE_FLASH_UDP_SOCKET_H_
-#define PPAPI_CPP_PRIVATE_FLASH_UDP_SOCKET_H_
-
-#include "ppapi/c/pp_stdint.h"
-#include "ppapi/c/private/ppb_flash_udp_socket.h"
-#include "ppapi/cpp/resource.h"
-
-namespace pp {
-
-class CompletionCallback;
-class Instance;
-
-namespace flash {
-
-class UDPSocket : public Resource {
- public:
- explicit UDPSocket(Instance* instance);
-
- int32_t Bind(const PP_NetAddress_Private* addr,
- const CompletionCallback& callback);
- int32_t RecvFrom(char* buffer,
- int32_t num_bytes,
- const CompletionCallback& callback);
- bool GetRecvFromAddress(PP_NetAddress_Private* addr);
- int32_t SendTo(const char* buffer,
- int32_t num_bytes,
- const PP_NetAddress_Private* addr,
- const CompletionCallback& callback);
- void Close();
-};
-
-} // namespace flash
-} // namespace pp
-
-#endif // PPAPI_CPP_PRIVATE_FLASH_UDP_SOCKET_H_
-
« no previous file with comments | « ppapi/cpp/private/flash_net_connector.cc ('k') | ppapi/cpp/private/flash_udp_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698