OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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_PLUGIN_POLICY_HACK_NAT_POLICY_MAC_H_ |
| 6 #define REMOTING_HOST_PLUGIN_POLICY_HACK_NAT_POLICY_MAC_H_ |
| 7 |
| 8 #include "remoting/host/plugin/policy_hack/nat_policy.h" |
| 9 |
| 10 namespace base { |
| 11 |
| 12 class MessageLoopProxy; |
| 13 |
| 14 namespace files { |
| 15 class FilePathWatcher; |
| 16 } // namespace base |
| 17 |
| 18 } // namespace files |
| 19 |
| 20 namespace remoting { |
| 21 namespace policy_hack { |
| 22 |
| 23 class NatPolicyMac : public NatPolicy { |
| 24 public: |
| 25 NatPolicyMac(const NatPolicy::NatEnabledCallback& nat_enabled_cb); |
| 26 ~NatPolicyMac(); |
| 27 |
| 28 virtual void StartWatching() OVERRIDE; |
| 29 virtual void StopWatching(base::WaitableEvent* done) OVERRIDE; |
| 30 |
| 31 private: |
| 32 NatEnabledCallback nat_enabled_cb_; |
| 33 }; |
| 34 |
| 35 } // namespace policy_hack |
| 36 } // namespace remoting |
| 37 |
| 38 #endif // REMOTING_HOST_PLUGIN_POLICY_HACK_NAT_POLICY_MAC_H_ |
OLD | NEW |