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

Unified Diff: remoting/test/remote_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/protocol_perftest.cc ('k') | remoting/test/test_chromoting_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/remote_host_info.cc
diff --git a/remoting/test/remote_host_info.cc b/remoting/test/remote_host_info.cc
index c4f97cdc9d94c9bfa6807c5e8ea4a46b3a1f65b9..98615e3fc8efe1e1a9e6518af577b3ddb72fa8b6 100644
--- a/remoting/test/remote_host_info.cc
+++ b/remoting/test/remote_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/remote_host_info.h"
#include "base/logging.h"
@@ -17,11 +16,9 @@ namespace remoting {
namespace test {
RemoteHostInfo::RemoteHostInfo()
- : remote_host_status(kRemoteHostStatusUnknown) {
-}
+ : remote_host_status(kRemoteHostStatusUnknown) {}
-RemoteHostInfo::~RemoteHostInfo() {
-}
+RemoteHostInfo::~RemoteHostInfo() {}
bool RemoteHostInfo::IsReadyForConnection() const {
return remote_host_status == kRemoteHostStatusReady;
@@ -52,9 +49,6 @@ ConnectionSetupInfo RemoteHostInfo::GenerateConnectionSetupInfo(
connection_setup_info.shared_secret = shared_secret;
connection_setup_info.user_name = user_name;
- connection_setup_info.auth_methods.push_back(
- protocol::AuthenticationMethod::THIRD_PARTY);
-
return connection_setup_info;
}
« no previous file with comments | « remoting/test/protocol_perftest.cc ('k') | remoting/test/test_chromoting_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698