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

Unified Diff: remoting/protocol/negotiating_client_authenticator.h

Issue 1794433002: Use ClientAuthenticationConfig in PairingClientAuthenticator (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
Index: remoting/protocol/negotiating_client_authenticator.h
diff --git a/remoting/protocol/negotiating_client_authenticator.h b/remoting/protocol/negotiating_client_authenticator.h
index 9a1fe1ef94996095e525bbc935bedbe449bc464d..855e64a3a63eb58868d2e1775d0dacdab96df349 100644
--- a/remoting/protocol/negotiating_client_authenticator.h
+++ b/remoting/protocol/negotiating_client_authenticator.h
@@ -12,30 +12,13 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "remoting/protocol/authenticator.h"
+#include "remoting/protocol/client_authentication_config.h"
#include "remoting/protocol/negotiating_authenticator_base.h"
#include "remoting/protocol/third_party_client_authenticator.h"
namespace remoting {
namespace protocol {
-struct ClientAuthenticationConfig {
- ClientAuthenticationConfig();
- ~ClientAuthenticationConfig();
-
- // Used for all authenticators.
- std::string host_id;
-
- // Used for pairing authenticators
- std::string pairing_client_id;
- std::string pairing_secret;
-
- // Used for shared secret authenticators.
- FetchSecretCallback fetch_secret_callback;
-
- // Used for third party authenticators.
- FetchThirdPartyTokenCallback fetch_third_party_token_callback;
-};
-
// Client-side implementation of NegotiatingAuthenticatorBase.
// See comments in negotiating_authenticator_base.h for a general explanation.
class NegotiatingClientAuthenticator : public NegotiatingAuthenticatorBase {
« no previous file with comments | « remoting/protocol/client_authentication_config.cc ('k') | remoting/protocol/negotiating_client_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698