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

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

Issue 11886051: Turned UiStrings into a singleton so that the continue window does not depend on ChromotingHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/host_user_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "remoting/host/host_mock_objects.h" 5 #include "remoting/host/host_mock_objects.h"
6 6
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "net/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
10 #include "remoting/base/auto_thread_task_runner.h" 10 #include "remoting/base/auto_thread_task_runner.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 void MockEventExecutor::Start( 58 void MockEventExecutor::Start(
59 scoped_ptr<protocol::ClipboardStub> client_clipboard) { 59 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
60 StartPtr(client_clipboard.get()); 60 StartPtr(client_clipboard.get());
61 } 61 }
62 62
63 MockDisconnectWindow::MockDisconnectWindow() {} 63 MockDisconnectWindow::MockDisconnectWindow() {}
64 64
65 MockDisconnectWindow::~MockDisconnectWindow() {} 65 MockDisconnectWindow::~MockDisconnectWindow() {}
66 66
67 scoped_ptr<DisconnectWindow> DisconnectWindow::Create() { 67 scoped_ptr<DisconnectWindow> DisconnectWindow::Create(
68 const UiStrings* ui_strings) {
68 return scoped_ptr<DisconnectWindow>(new MockDisconnectWindow()); 69 return scoped_ptr<DisconnectWindow>(new MockDisconnectWindow());
69 } 70 }
70 71
71 MockContinueWindow::MockContinueWindow() {} 72 MockContinueWindow::MockContinueWindow() {}
72 73
73 MockContinueWindow::~MockContinueWindow() {} 74 MockContinueWindow::~MockContinueWindow() {}
74 75
75 scoped_ptr<ContinueWindow> ContinueWindow::Create() { 76 scoped_ptr<ContinueWindow> ContinueWindow::Create(const UiStrings* ui_strings) {
76 return scoped_ptr<ContinueWindow>(new MockContinueWindow()); 77 return scoped_ptr<ContinueWindow>(new MockContinueWindow());
77 } 78 }
78 79
79 MockLocalInputMonitor::MockLocalInputMonitor() {} 80 MockLocalInputMonitor::MockLocalInputMonitor() {}
80 81
81 MockLocalInputMonitor::~MockLocalInputMonitor() {} 82 MockLocalInputMonitor::~MockLocalInputMonitor() {}
82 83
83 MockClientSessionEventHandler::MockClientSessionEventHandler() {} 84 MockClientSessionEventHandler::MockClientSessionEventHandler() {}
84 85
85 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} 86 MockClientSessionEventHandler::~MockClientSessionEventHandler() {}
86 87
87 MockHostStatusObserver::MockHostStatusObserver() {} 88 MockHostStatusObserver::MockHostStatusObserver() {}
88 89
89 MockHostStatusObserver::~MockHostStatusObserver() {} 90 MockHostStatusObserver::~MockHostStatusObserver() {}
90 91
91 } // namespace remoting 92 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/host_user_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698