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

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

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 #ifndef REMOTING_HOST_POLICY_HACK_FAKE_POLICY_WATCHER_H_
6 #define REMOTING_HOST_POLICY_HACK_FAKE_POLICY_WATCHER_H_
7
8 #include "remoting/host/policy_hack/policy_watcher.h"
9
10 namespace remoting {
11 namespace policy_hack {
12
13 class FakePolicyWatcher : public PolicyWatcher {
14 public:
15 explicit FakePolicyWatcher(
16 scoped_refptr<base::SingleThreadTaskRunner> task_runner);
17 virtual ~FakePolicyWatcher();
18
19 void SetPolicies(const base::DictionaryValue* policies);
20
21 protected:
22 virtual void StartWatchingInternal() OVERRIDE;
23 virtual void StopWatchingInternal() OVERRIDE;
24 virtual void Reload() OVERRIDE;
25 };
26
27 } // namespace policy_hack
28 } // namespace remoting
29
30 #endif // REMOTING_HOST_POLICY_HACK_FAKE_POLICY_WATCHER_H_
OLDNEW
« no previous file with comments | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/policy_hack/fake_policy_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698