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

Side by Side Diff: remoting/host/plugin/policy_hack/nat_policy_mac.h

Issue 7599017: Framework to allow Chromoting host to respect NAT traversal policy in linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: silly compiler. Created 9 years, 4 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) 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698