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

Unified Diff: content/renderer/p2p/socket_client.h

Issue 10962010: Fix asan test failure in P2PSocketClient::Init. Make sure P2PSocketClient::Init only access |deleg… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to latest code base. Created 8 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 | « no previous file | content/renderer/p2p/socket_client.cc » ('j') | content/renderer/p2p/socket_client.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/p2p/socket_client.h
diff --git a/content/renderer/p2p/socket_client.h b/content/renderer/p2p/socket_client.h
index 103f729fc9df6416d6fa16790d27d97e19058b6f..d74107f2ef4929b85ec7fc2ad6aeb1670e4fc22e 100644
--- a/content/renderer/p2p/socket_client.h
+++ b/content/renderer/p2p/socket_client.h
@@ -93,6 +93,11 @@ class P2PSocketClient : public base::RefCountedThreadSafe<P2PSocketClient> {
void DeliverOnDataReceived(const net::IPEndPoint& address,
const std::vector<char>& data);
+ // Scheduled on the IPC thread to finish initialization.
+ void DoInit(P2PSocketType type,
+ const net::IPEndPoint& local_address,
+ const net::IPEndPoint& remote_address);
+
// Scheduled on the IPC thread to finish closing the connection.
void DoClose();
« no previous file with comments | « no previous file | content/renderer/p2p/socket_client.cc » ('j') | content/renderer/p2p/socket_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698