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

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

Issue 9212047: Add GetBoundAddress to PPB_UDPSocket_Private (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: add a few more unit tests, updates from review Created 8 years, 10 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/cpp/private/udp_socket_private.h
diff --git a/ppapi/cpp/private/udp_socket_private.h b/ppapi/cpp/private/udp_socket_private.h
index 85bfb5336a2398f0f8077572aa9cc4a9130c352b..abe434b61631286dda43eca49ba5ec73b402363a 100644
--- a/ppapi/cpp/private/udp_socket_private.h
+++ b/ppapi/cpp/private/udp_socket_private.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -20,6 +20,7 @@ class UDPSocketPrivate : public Resource {
int32_t Bind(const PP_NetAddress_Private* addr,
const CompletionCallback& callback);
+ bool GetBoundAddress(PP_NetAddress_Private* addr);
int32_t RecvFrom(char* buffer,
int32_t num_bytes,
const CompletionCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698