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

Unified Diff: remoting/host/host_mock_objects.cc

Issue 12760012: Rename EventExecutor to InputInjector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace some missed occurrences and remove unused include. Created 7 years, 9 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 | « remoting/host/host_mock_objects.h ('k') | remoting/host/input_injector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_mock_objects.cc
diff --git a/remoting/host/host_mock_objects.cc b/remoting/host/host_mock_objects.cc
index 0dd33e9558efd85c12e058d26a7be90f9cd9f45c..5900179f3609724f419b4fad818861a1c67e3a29 100644
--- a/remoting/host/host_mock_objects.cc
+++ b/remoting/host/host_mock_objects.cc
@@ -12,7 +12,7 @@
#include "remoting/codec/audio_encoder.h"
#include "remoting/codec/video_encoder.h"
#include "remoting/host/audio_capturer.h"
-#include "remoting/host/event_executor.h"
+#include "remoting/host/input_injector.h"
#include "remoting/proto/event.pb.h"
#include "remoting/protocol/transport.h"
@@ -27,10 +27,10 @@ scoped_ptr<AudioCapturer> MockDesktopEnvironment::CreateAudioCapturer(
return scoped_ptr<AudioCapturer>(CreateAudioCapturerPtr(audio_task_runner));
}
-scoped_ptr<EventExecutor> MockDesktopEnvironment::CreateEventExecutor(
+scoped_ptr<InputInjector> MockDesktopEnvironment::CreateInputInjector(
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
- return scoped_ptr<EventExecutor>(CreateEventExecutorPtr(input_task_runner,
+ return scoped_ptr<InputInjector>(CreateInputInjectorPtr(input_task_runner,
ui_task_runner));
}
@@ -56,11 +56,11 @@ scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create(
return scoped_ptr<DesktopEnvironment>(CreatePtr());
}
-MockEventExecutor::MockEventExecutor() {}
+MockInputInjector::MockInputInjector() {}
-MockEventExecutor::~MockEventExecutor() {}
+MockInputInjector::~MockInputInjector() {}
-void MockEventExecutor::Start(
+void MockInputInjector::Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) {
StartPtr(client_clipboard.get());
}
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/input_injector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698