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

Unified Diff: remoting/host/policy_hack/policy_watcher_unittest.cc

Issue 10825149: [Chromoting] Add new Chromoting enterprise policies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add 'remote access' to caption and desc Created 8 years, 4 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/host/policy_hack/policy_watcher.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/policy_hack/policy_watcher_unittest.cc
diff --git a/remoting/host/policy_hack/policy_watcher_unittest.cc b/remoting/host/policy_hack/policy_watcher_unittest.cc
index 898ab0af68a4173485616ca246e0ce98baae7d78..7fb6de34eac5faee3016ca6808af5e0ee2fff325 100644
--- a/remoting/host/policy_hack/policy_watcher_unittest.cc
+++ b/remoting/host/policy_hack/policy_watcher_unittest.cc
@@ -6,6 +6,7 @@
#include "base/bind.h"
#include "base/message_loop.h"
#include "base/synchronization/waitable_event.h"
+#include "remoting/host/constants.h"
#include "remoting/host/policy_hack/fake_policy_watcher.h"
#include "remoting/host/policy_hack/mock_policy_callback.h"
#include "remoting/host/policy_hack/policy_watcher.h"
@@ -95,9 +96,10 @@ class PolicyWatcherTest : public testing::Test {
private:
void SetDefaults(base::DictionaryValue& dict) {
dict.SetBoolean(PolicyWatcher::kNatPolicyName, true);
- dict.SetBoolean(PolicyWatcher::kRequireTwoFactorPolicyName, false);
+ dict.SetBoolean(PolicyWatcher::kHostRequireTwoFactorPolicyName, false);
dict.SetString(PolicyWatcher::kHostDomainPolicyName, "");
- dict.SetString(PolicyWatcher::kTalkGadgetPolicyName, "chromoting");
+ dict.SetString(PolicyWatcher::kHostTalkGadgetPrefixPolicyName,
+ kDefaultTalkGadgetPrefix);
}
};
« no previous file with comments | « remoting/host/policy_hack/policy_watcher.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698