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

Side by Side Diff: remoting/host/host_stub_fake.cc

Issue 6030007: Chromoting protocol layers to receive and send login messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix style Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/task.h" 5 #include "base/task.h"
6 #include "remoting/host/host_stub_fake.h" 6 #include "remoting/host/host_stub_fake.h"
7 7
8 namespace remoting { 8 namespace remoting {
9 9
10 void HostStubFake::SuggestResolution( 10 void HostStubFake::SuggestResolution(
11 const protocol::SuggestResolutionRequest* msg, Task* done) { 11 const protocol::SuggestResolutionRequest* msg, Task* done) {
12 done->Run(); 12 done->Run();
13 delete done; 13 delete done;
14 } 14 }
15 15
16 void HostStubFake::BeginSessionRequest(
17 const protocol::LocalLoginCredentials* credentials, Task* done) {
18 done->Run();
19 delete done;
20 }
21
16 } // namespace remoting 22 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698