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

Unified Diff: remoting/host/host_stub_fake.cc

Issue 4975003: Introduce a fake HostStub since there's no need to handle it now (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: give HostStubFake Created 10 years, 1 month 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 | « remoting/host/host_stub_fake.h ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_stub_fake.cc
diff --git a/remoting/host/host_stub_fake.cc b/remoting/host/host_stub_fake.cc
new file mode 100644
index 0000000000000000000000000000000000000000..179dd34f2b7c42b7f2618c229a7f86a254f2fdb2
--- /dev/null
+++ b/remoting/host/host_stub_fake.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/task.h"
+#include "remoting/host/host_stub_fake.h"
+
+namespace remoting {
+
+void HostStubFake::SuggestResolution(
+ const protocol::SuggestResolutionRequest* msg, Task* done) {
+ done->Run();
+ delete done;
+}
+
+} // namespace remoting
« no previous file with comments | « remoting/host/host_stub_fake.h ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698