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

Unified Diff: base/sync_socket.h

Issue 2809673002: Fix double close in MojoAudioOutputStream. (Closed)
Patch Set: Fix Win complie. Created 3 years, 8 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 | base/sync_socket_nacl.cc » ('j') | content/browser/renderer_host/media/audio_renderer_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sync_socket.h
diff --git a/base/sync_socket.h b/base/sync_socket.h
index fcf4155047e20cface5ed42086828b9db729aea7..53fbeb613faa00ae4dec79e887065d0375053bc6 100644
--- a/base/sync_socket.h
+++ b/base/sync_socket.h
@@ -93,6 +93,9 @@ class BASE_EXPORT SyncSocket {
// processes.
Handle handle() const { return handle_; }
+ // Extracts and takes ownership of the contained handle.
+ Handle Release();
+
protected:
Handle handle_;
« no previous file with comments | « no previous file | base/sync_socket_nacl.cc » ('j') | content/browser/renderer_host/media/audio_renderer_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698