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

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

Issue 10873050: [Chromoting] Hook up host talkgadget policy checks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change int to bool 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/dns_blackhole_checker.cc ('k') | remoting/host/policy_hack/policy_watcher_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/policy_hack/policy_watcher.cc
diff --git a/remoting/host/policy_hack/policy_watcher.cc b/remoting/host/policy_hack/policy_watcher.cc
index 270bccbb06eb154b6a4ecbbcd5935ed78b257d2e..bfa83f44420afe987d9c5d5f5a9fcb4d9298939b 100644
--- a/remoting/host/policy_hack/policy_watcher.cc
+++ b/remoting/host/policy_hack/policy_watcher.cc
@@ -15,7 +15,7 @@
#include "base/synchronization/waitable_event.h"
#include "base/time.h"
#include "base/values.h"
-#include "remoting/host/constants.h"
+#include "remoting/host/dns_blackhole_checker.h"
namespace remoting {
namespace policy_hack {
@@ -96,7 +96,8 @@ scoped_ptr<base::DictionaryValue> AddDefaultValuesWhenNecessary(
PolicyWatcher::kHostDomainPolicyName, "", "");
CopyStringOrDefault(to.get(), from,
PolicyWatcher::kHostTalkGadgetPrefixPolicyName,
- kDefaultTalkGadgetPrefix, kDefaultTalkGadgetPrefix);
+ kDefaultHostTalkGadgetPrefix,
+ kDefaultHostTalkGadgetPrefix);
CopyBooleanOrDefault(to.get(), from,
PolicyWatcher::kHostRequireCurtainPolicyName,
false, false);
« no previous file with comments | « remoting/host/dns_blackhole_checker.cc ('k') | remoting/host/policy_hack/policy_watcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698