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

Unified Diff: ppapi/cpp/dev/tcp_socket_dev.h

Issue 17419008: Move PPB_NetAddress out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « ppapi/cpp/dev/net_address_dev.cc ('k') | ppapi/cpp/dev/tcp_socket_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/tcp_socket_dev.h
diff --git a/ppapi/cpp/dev/tcp_socket_dev.h b/ppapi/cpp/dev/tcp_socket_dev.h
index 0fc1cd29e0e100c871b6b5467cf8e45787c024c2..4067bf0a0fbda53ad005489dd8fdfabe7b25860d 100644
--- a/ppapi/cpp/dev/tcp_socket_dev.h
+++ b/ppapi/cpp/dev/tcp_socket_dev.h
@@ -6,7 +6,7 @@
#define PPAPI_CPP_DEV_TCP_SOCKET_DEV_H_
#include "ppapi/c/dev/ppb_tcp_socket_dev.h"
-#include "ppapi/cpp/dev/net_address_dev.h"
+#include "ppapi/cpp/net_address.h"
#include "ppapi/cpp/pass_ref.h"
#include "ppapi/cpp/resource.h"
@@ -62,7 +62,7 @@ class TCPSocket_Dev: public Resource {
/// Connects the socket to the given address.
///
- /// @param[in] addr A <code>NetAddress_Dev</code> object.
+ /// @param[in] addr A <code>NetAddress</code> object.
/// @param[in] callback A <code>CompletionCallback</code> to be called upon
/// completion.
///
@@ -77,20 +77,20 @@ class TCPSocket_Dev: public Resource {
/// - <code>PP_ERROR_CONNECTION_FAILED</code>: the connection attempt failed.
/// - <code>PP_ERROR_CONNECTION_TIMEDOUT</code>: the connection attempt timed
/// out.
- int32_t Connect(const NetAddress_Dev& addr,
+ int32_t Connect(const NetAddress& addr,
const CompletionCallback& callback);
/// Gets the local address of the socket, if it is connected.
///
- /// @return A <code>NetAddress_Dev</code> object. The object will be null
+ /// @return A <code>NetAddress</code> object. The object will be null
/// (i.e., is_null() returns true) on failure.
- NetAddress_Dev GetLocalAddress() const;
+ NetAddress GetLocalAddress() const;
/// Gets the remote address of the socket, if it is connected.
///
- /// @return A <code>NetAddress_Dev</code> object. The object will be null
+ /// @return A <code>NetAddress</code> object. The object will be null
/// (i.e., is_null() returns true) on failure.
- NetAddress_Dev GetRemoteAddress() const;
+ NetAddress GetRemoteAddress() const;
/// Reads data from the socket. The socket must be connected. It may perform a
/// partial read.
@@ -163,4 +163,4 @@ class TCPSocket_Dev: public Resource {
} // namespace pp
-#endif // PPAPI_CPP_DEV_TCP_SOCKET_DEV_H_
+#endif // PPAPI_CPP_DEV_TCP_SOCKET__DevDEV_H_
« no previous file with comments | « ppapi/cpp/dev/net_address_dev.cc ('k') | ppapi/cpp/dev/tcp_socket_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698