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

Unified Diff: remoting/host/it2me_desktop_environment.h

Issue 1923573006: Implement a dummy host to do capturing and analysis only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build break Created 4 years, 8 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/it2me_desktop_environment.h
diff --git a/remoting/host/it2me_desktop_environment.h b/remoting/host/it2me_desktop_environment.h
index 94f210ab1f4b7fb4156e63949531cd5b37474bfe..c3b981e2f8fab426b23df194ca1ce2cf6201a089 100644
--- a/remoting/host/it2me_desktop_environment.h
+++ b/remoting/host/it2me_desktop_environment.h
@@ -30,7 +30,8 @@ class It2MeDesktopEnvironment : public BasicDesktopEnvironment {
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
base::WeakPtr<ClientSessionControl> client_session_control,
- bool supports_touch_events);
+ bool supports_touch_events,
+ bool enable_user_interface);
private:
// Presents the continue window to the local user.
@@ -59,7 +60,12 @@ class It2MeDesktopEnvironmentFactory : public BasicDesktopEnvironmentFactory {
std::unique_ptr<DesktopEnvironment> Create(
base::WeakPtr<ClientSessionControl> client_session_control) override;
+ void enable_user_interface(bool enabled) {
joedow 2016/05/03 22:28:29 s/enable_user_interface/set_enable_user_interface
Hzj_jie 2016/05/04 02:11:56 Done.
+ enable_user_interface_ = enabled;
+ }
+
private:
+ bool enable_user_interface_;
joedow 2016/05/03 22:28:29 nit: add newline between vars and MACRO
joedow 2016/05/03 22:28:29 init to 'true' here?
Hzj_jie 2016/05/04 02:11:56 Done.
Hzj_jie 2016/05/04 02:11:56 Done.
DISALLOW_COPY_AND_ASSIGN(It2MeDesktopEnvironmentFactory);
};

Powered by Google App Engine
This is Rietveld 408576698