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

Unified Diff: remoting/host/client_session.cc

Issue 8116021: Switch remoting/protocol to new callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 36bb89cb5348cd09f3b29ccd12ae091f05701650..78dcddf7ec1872c5687be3e918a67686139ec7cb 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -48,10 +48,11 @@ ClientSession::~ClientSession() {
}
void ClientSession::BeginSessionRequest(
- const protocol::LocalLoginCredentials* credentials, Task* done) {
+ const protocol::LocalLoginCredentials* credentials,
+ const base::Closure& done) {
DCHECK(event_handler_);
- base::ScopedTaskRunner done_runner(done);
+ base::ScopedClosureRunner done_runner(done);
bool success = false;
switch (credentials->type()) {

Powered by Google App Engine
This is Rietveld 408576698