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

Unified Diff: remoting/host/host_session_options.cc

Issue 2615113005: [Chromoting] Use HostExperimentSessionPlugin in host (Closed)
Patch Set: Enable two-way control of DirectX capturer Created 3 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/host_session_options.cc
diff --git a/remoting/host/host_session_options.cc b/remoting/host/host_session_options.cc
index 2424b88e7b5292dae9b8f173a7a6eaf5179a34b3..a0180252a281f3a1361fc3b4a95b2ccd434971c5 100644
--- a/remoting/host/host_session_options.cc
+++ b/remoting/host/host_session_options.cc
@@ -11,7 +11,6 @@
#include "base/strings/string_util.h"
namespace remoting {
-namespace protocol {
namespace {
@@ -35,6 +34,11 @@ bool KeyIsValid(const std::string& key) {
HostSessionOptions::HostSessionOptions() = default;
HostSessionOptions::~HostSessionOptions() = default;
+HostSessionOptions::HostSessionOptions(const std::string& parameter)
+ : HostSessionOptions() {
Sergey Ulanov 2017/01/23 00:51:35 Don't need to call this constructor explicitly
Hzj_jie 2017/02/08 01:56:29 Done.
+ Import(parameter);
+}
+
void HostSessionOptions::Append(const std::string& key,
const std::string& value) {
DCHECK(KeyIsValid(key));
@@ -80,5 +84,4 @@ void HostSessionOptions::Import(const std::string& parameter) {
}
}
-} // namespace protocol
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698