Chromium Code Reviews| 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 |