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

Unified Diff: remoting/host/host_session_options.cc

Issue 2615113005: [Chromoting] Use HostExperimentSessionPlugin in host (Closed)
Patch Set: Resolve review comments Created 3 years, 10 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_session_options.h ('k') | remoting/host/host_session_options_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8511f278ceddc6d297a55a4378d16ee19bf00edf 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,10 @@ bool KeyIsValid(const std::string& key) {
HostSessionOptions::HostSessionOptions() = default;
HostSessionOptions::~HostSessionOptions() = default;
+HostSessionOptions::HostSessionOptions(const std::string& parameter) {
+ Import(parameter);
+}
+
void HostSessionOptions::Append(const std::string& key,
const std::string& value) {
DCHECK(KeyIsValid(key));
@@ -80,5 +83,4 @@ void HostSessionOptions::Import(const std::string& parameter) {
}
}
-} // namespace protocol
} // namespace remoting
« no previous file with comments | « remoting/host/host_session_options.h ('k') | remoting/host/host_session_options_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698