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_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ | 5 #ifndef REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ |
6 #define REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ | 6 #define REMOTING_HOST_SETUP_ME2ME_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" |
11 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
12 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
| 14 #include "build/build_config.h" |
13 #include "extensions/browser/api/messaging/native_messaging_channel.h" | 15 #include "extensions/browser/api/messaging/native_messaging_channel.h" |
14 #include "remoting/host/native_messaging/log_message_handler.h" | 16 #include "remoting/host/native_messaging/log_message_handler.h" |
15 #include "remoting/host/setup/daemon_controller.h" | 17 #include "remoting/host/setup/daemon_controller.h" |
16 #include "remoting/host/setup/oauth_client.h" | 18 #include "remoting/host/setup/oauth_client.h" |
17 | 19 |
18 namespace base { | 20 namespace base { |
19 class DictionaryValue; | 21 class DictionaryValue; |
20 class ListValue; | 22 class ListValue; |
21 } // namespace base | 23 } // namespace base |
22 | 24 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 191 |
190 base::WeakPtr<Me2MeNativeMessagingHost> weak_ptr_; | 192 base::WeakPtr<Me2MeNativeMessagingHost> weak_ptr_; |
191 base::WeakPtrFactory<Me2MeNativeMessagingHost> weak_factory_; | 193 base::WeakPtrFactory<Me2MeNativeMessagingHost> weak_factory_; |
192 | 194 |
193 DISALLOW_COPY_AND_ASSIGN(Me2MeNativeMessagingHost); | 195 DISALLOW_COPY_AND_ASSIGN(Me2MeNativeMessagingHost); |
194 }; | 196 }; |
195 | 197 |
196 } // namespace remoting | 198 } // namespace remoting |
197 | 199 |
198 #endif // REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ | 200 #endif // REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ |
OLD | NEW |