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

Unified Diff: remoting/protocol/me2me_host_authenticator_factory.h

Issue 2682473003: Add support for multiple allowed domains (Closed)
Patch Set: Rework to follow a deprecation approach Created 3 years, 8 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/me2me_host_authenticator_factory.h
diff --git a/remoting/protocol/me2me_host_authenticator_factory.h b/remoting/protocol/me2me_host_authenticator_factory.h
index e081ba81faa6b1b869e71aeb303968b12941c84b..8a9ad78253c1486a1b40ab924cec0295d5aaaa11 100644
--- a/remoting/protocol/me2me_host_authenticator_factory.h
+++ b/remoting/protocol/me2me_host_authenticator_factory.h
@@ -7,6 +7,7 @@
#include <memory>
#include <string>
+#include <vector>
#include "base/compiler_specific.h"
#include "base/macros.h"
@@ -31,7 +32,7 @@ class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory {
const std::string& host_owner,
const std::string& local_cert,
scoped_refptr<RsaKeyPair> key_pair,
- const std::string& required_client_domain,
+ std::vector<std::string> required_client_domain_list,
const std::string& pin_hash,
scoped_refptr<PairingRegistry> pairing_registry);
@@ -41,7 +42,7 @@ class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory {
const std::string& host_owner,
const std::string& local_cert,
scoped_refptr<RsaKeyPair> key_pair,
- const std::string& required_client_domain,
+ std::vector<std::string> required_client_domain_list,
scoped_refptr<TokenValidatorFactory> token_validator_factory);
Me2MeHostAuthenticatorFactory();
@@ -58,7 +59,7 @@ class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory {
std::string host_owner_;
std::string local_cert_;
scoped_refptr<RsaKeyPair> key_pair_;
- std::string required_client_domain_;
+ std::vector<std::string> required_client_domain_list_;
// Used only for PIN-based host authenticators.
std::string pin_hash_;

Powered by Google App Engine
This is Rietveld 408576698