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

Unified Diff: remoting/host/gnubby_auth_handler_posix.h

Issue 1234003002: Fix GnubbyAuthHandlerPosix to handle requests correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@allowIo
Patch Set: Rebase Created 5 years, 5 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 | remoting/host/gnubby_auth_handler_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/gnubby_auth_handler_posix.h
diff --git a/remoting/host/gnubby_auth_handler_posix.h b/remoting/host/gnubby_auth_handler_posix.h
index 580e92a31bc23a198d1645cd3c19f2916d1ac8bc..2b4668b3291c4d15fc662842d2b64322079d57be 100644
--- a/remoting/host/gnubby_auth_handler_posix.h
+++ b/remoting/host/gnubby_auth_handler_posix.h
@@ -58,9 +58,6 @@ class GnubbyAuthHandlerPosix : public GnubbyAuthHandler,
// Called when a GnubbySocket has done reading.
void OnReadComplete(int connection_id);
- // Removes a GnubbySocket from |active_sockets_| and deletes it.
- void Close(const ActiveSockets::iterator& iter);
-
// Create socket for authorization.
void CreateAuthorizationSocket();
@@ -70,7 +67,7 @@ class GnubbyAuthHandlerPosix : public GnubbyAuthHandler,
// Gets an active socket iterator for the connection id in |message|.
ActiveSockets::iterator GetSocketForMessage(base::DictionaryValue* message);
- // Send an error and close an active socket.
+ // Send an error and closes an active socket.
void SendErrorAndCloseActiveSocket(const ActiveSockets::iterator& iter);
// A request timed out.
« no previous file with comments | « no previous file | remoting/host/gnubby_auth_handler_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698