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

Unified Diff: remoting/test/host_info.cc

Issue 1768383004: Cleanup AuthenticatorMethod usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/test/connection_setup_info.h ('k') | remoting/test/protocol_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/host_info.cc
diff --git a/remoting/test/host_info.cc b/remoting/test/host_info.cc
index acb1c517e9c5b67d7336223ea3dae62a8a54e93e..c8069739ccbc1f66e98221706d0371c2eed3f950 100644
--- a/remoting/test/host_info.cc
+++ b/remoting/test/host_info.cc
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/protocol/authentication_method.h"
#include "remoting/test/host_info.h"
#include "base/logging.h"
@@ -10,13 +9,10 @@
namespace remoting {
namespace test {
-HostInfo::HostInfo() {
-}
-
+HostInfo::HostInfo() {}
HostInfo::HostInfo(const HostInfo& other) = default;
-HostInfo::~HostInfo() {
-}
+HostInfo::~HostInfo() {}
bool HostInfo::ParseHostInfo(const base::DictionaryValue& host_info) {
const base::ListValue* list_value = nullptr;
@@ -89,16 +85,6 @@ ConnectionSetupInfo HostInfo::GenerateConnectionSetupInfo(
connection_setup_info.pin = pin;
connection_setup_info.public_key = public_key;
connection_setup_info.user_name = user_name;
-
- connection_setup_info.auth_methods.push_back(
- protocol::AuthenticationMethod::SPAKE2_PAIR);
- connection_setup_info.auth_methods.push_back(
- protocol::AuthenticationMethod::SPAKE2_SHARED_SECRET_PLAIN);
- connection_setup_info.auth_methods.push_back(
- protocol::AuthenticationMethod::SPAKE2_SHARED_SECRET_HMAC);
- connection_setup_info.auth_methods.push_back(
- protocol::AuthenticationMethod::THIRD_PARTY);
-
return connection_setup_info;
}
« no previous file with comments | « remoting/test/connection_setup_info.h ('k') | remoting/test/protocol_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698