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

Unified Diff: remoting/host/chromoting_host.h

Issue 398873005: Preparations for Cast Host Extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | « no previous file | remoting/host/chromoting_host.cc » ('j') | remoting/host/chromoting_host_context.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index fe2c26fa60036caa53d33cf83119e3bd868671ee..b6d9359d38700d9650fa5eade5c445ab7cac01da 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -157,6 +157,10 @@ class ChromotingHost : public base::NonThreadSafe,
pairing_registry_ = pairing_registry;
}
+ void set_enable_cast(bool enable) {
+ enable_cast_ = enable;
+ }
+
base::WeakPtr<ChromotingHost> AsWeakPtr() {
return weak_factory_.GetWeakPtr();
}
@@ -221,6 +225,9 @@ class ChromotingHost : public base::NonThreadSafe,
base::WeakPtrFactory<ChromotingHost> weak_factory_;
+ // True if cast mode is enabled.
+ bool enable_cast_;
+
DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
};
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | remoting/host/chromoting_host_context.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698