| Index: remoting/host/policy_hack/fake_policy_watcher.h
|
| diff --git a/remoting/host/policy_hack/fake_policy_watcher.h b/remoting/host/policy_hack/fake_policy_watcher.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..baec95926fc42033dae4b6a29945fe623498d9f6
|
| --- /dev/null
|
| +++ b/remoting/host/policy_hack/fake_policy_watcher.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef REMOTING_HOST_POLICY_HACK_FAKE_POLICY_WATCHER_H_
|
| +#define REMOTING_HOST_POLICY_HACK_FAKE_POLICY_WATCHER_H_
|
| +
|
| +#include "remoting/host/policy_hack/policy_watcher.h"
|
| +
|
| +namespace remoting {
|
| +namespace policy_hack {
|
| +
|
| +class FakePolicyWatcher : public PolicyWatcher {
|
| + public:
|
| + explicit FakePolicyWatcher(
|
| + scoped_refptr<base::SingleThreadTaskRunner> task_runner);
|
| + virtual ~FakePolicyWatcher();
|
| +
|
| + void SetPolicies(const base::DictionaryValue* policies);
|
| +
|
| + protected:
|
| + virtual void StartWatchingInternal() OVERRIDE;
|
| + virtual void StopWatchingInternal() OVERRIDE;
|
| + virtual void Reload() OVERRIDE;
|
| +};
|
| +
|
| +} // namespace policy_hack
|
| +} // namespace remoting
|
| +
|
| +#endif // REMOTING_HOST_POLICY_HACK_FAKE_POLICY_WATCHER_H_
|
|
|