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

Side by Side Diff: remoting/host/policy_hack/fake_policy_watcher.cc

Issue 10804040: [Chromoting] Refactor the host policy watcher so that policies can easily be added. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for Windows. Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "remoting/host/policy_hack/fake_policy_watcher.h"
6
7 #include "base/single_thread_task_runner.h"
8
9 namespace remoting {
10 namespace policy_hack {
11
12 FakePolicyWatcher::FakePolicyWatcher(
13 scoped_refptr<base::SingleThreadTaskRunner> task_runner)
14 : PolicyWatcher(task_runner) {
15 }
16
17 FakePolicyWatcher::~FakePolicyWatcher() {
18 }
19
20 void FakePolicyWatcher::SetPolicies(const base::DictionaryValue* policies) {
21 UpdatePolicies(policies);
22 }
23
24 void FakePolicyWatcher::StartWatchingInternal() {
25 }
26
27 void FakePolicyWatcher::StopWatchingInternal() {
28 }
29
30 void FakePolicyWatcher::Reload() {
31 }
32
33 } // namespace policy_hack
34 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/policy_hack/fake_policy_watcher.h ('k') | remoting/host/policy_hack/mock_policy_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698