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

Unified Diff: remoting/host/policy_watcher_unittest.cc

Issue 2682473003: Add support for multiple allowed domains (Closed)
Patch Set: Created 3 years, 10 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/host/policy_watcher_unittest.cc
diff --git a/remoting/host/policy_watcher_unittest.cc b/remoting/host/policy_watcher_unittest.cc
index 7df7c7d772b94dbc1f2c5a54abdd9eef91db4439..992bcfd50acbef2656c15163d004d27b4521c6d2 100644
--- a/remoting/host/policy_watcher_unittest.cc
+++ b/remoting/host/policy_watcher_unittest.cc
@@ -251,7 +251,11 @@ class PolicyWatcherTest : public testing::Test {
dict.SetBoolean(key::kRemoteAccessHostAllowRelayedConnection, true);
dict.SetString(key::kRemoteAccessHostUdpPortRange, "");
dict.SetString(key::kRemoteAccessHostClientDomain, std::string());
+ dict.Set(key::kRemoteAccessHostClientDomainList,
+ base::MakeUnique<base::ListValue>());
dict.SetString(key::kRemoteAccessHostDomain, std::string());
+ dict.Set(key::kRemoteAccessHostDomainList,
+ base::MakeUnique<base::ListValue>());
dict.SetBoolean(key::kRemoteAccessHostMatchUsername, false);
dict.SetString(key::kRemoteAccessHostTalkGadgetPrefix,
kDefaultHostTalkGadgetPrefix);

Powered by Google App Engine
This is Rietveld 408576698