OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_H_ | 5 #ifndef REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_H_ |
6 #define REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_H_ | 6 #define REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "build/build_config.h" |
11 #include "extensions/browser/api/messaging/native_message_host.h" | 13 #include "extensions/browser/api/messaging/native_message_host.h" |
12 #include "remoting/base/auto_thread_task_runner.h" | 14 #include "remoting/base/auto_thread_task_runner.h" |
13 #include "remoting/host/chromoting_host_context.h" | 15 #include "remoting/host/chromoting_host_context.h" |
14 #include "remoting/host/it2me/it2me_host.h" | 16 #include "remoting/host/it2me/it2me_host.h" |
15 | 17 |
16 #if !defined(OS_CHROMEOS) | 18 #if !defined(OS_CHROMEOS) |
17 #include "remoting/host/native_messaging/log_message_handler.h" | 19 #include "remoting/host/native_messaging/log_message_handler.h" |
18 #endif | 20 #endif |
19 | 21 |
20 namespace base { | 22 namespace base { |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 91 |
90 base::WeakPtr<It2MeNativeMessagingHost> weak_ptr_; | 92 base::WeakPtr<It2MeNativeMessagingHost> weak_ptr_; |
91 base::WeakPtrFactory<It2MeNativeMessagingHost> weak_factory_; | 93 base::WeakPtrFactory<It2MeNativeMessagingHost> weak_factory_; |
92 | 94 |
93 DISALLOW_COPY_AND_ASSIGN(It2MeNativeMessagingHost); | 95 DISALLOW_COPY_AND_ASSIGN(It2MeNativeMessagingHost); |
94 }; | 96 }; |
95 | 97 |
96 } // namespace remoting | 98 } // namespace remoting |
97 | 99 |
98 #endif // REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_H_ | 100 #endif // REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_H_ |
OLD | NEW |