Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / remoting / host / policy_hack / fake_policy_watcher.h
blobbaec95926fc42033dae4b6a29945fe623498d9f6
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.
5 #ifndef REMOTING_HOST_POLICY_HACK_FAKE_POLICY_WATCHER_H_
6 #define REMOTING_HOST_POLICY_HACK_FAKE_POLICY_WATCHER_H_
8 #include "remoting/host/policy_hack/policy_watcher.h"
10 namespace remoting {
11 namespace policy_hack {
13 class FakePolicyWatcher : public PolicyWatcher {
14 public:
15 explicit FakePolicyWatcher(
16 scoped_refptr<base::SingleThreadTaskRunner> task_runner);
17 virtual ~FakePolicyWatcher();
19 void SetPolicies(const base::DictionaryValue* policies);
21 protected:
22 virtual void StartWatchingInternal() OVERRIDE;
23 virtual void StopWatchingInternal() OVERRIDE;
24 virtual void Reload() OVERRIDE;
27 } // namespace policy_hack
28 } // namespace remoting
30 #endif // REMOTING_HOST_POLICY_HACK_FAKE_POLICY_WATCHER_H_