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 <cstdint> | 8 #include <cstdint> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "extensions/browser/api/messaging/native_message_host.h" | 17 #include "extensions/browser/api/messaging/native_message_host.h" |
18 #include "remoting/host/setup/daemon_controller.h" | 18 #include "remoting/host/setup/daemon_controller.h" |
19 #include "remoting/host/setup/oauth_client.h" | 19 #include "remoting/host/setup/oauth_client.h" |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class DictionaryValue; | 22 class DictionaryValue; |
23 class ListValue; | 23 class ListValue; |
24 class SingleThreadTaskRunner; | 24 class SingleThreadTaskRunner; |
25 class Value; | 25 class Value; |
26 } // namespace base | 26 } // namespace base |
27 | 27 |
28 namespace gaia { | |
29 class GaiaOAuthClient; | |
30 } // namespace gaia | |
31 | |
32 namespace remoting { | 28 namespace remoting { |
33 | 29 |
34 namespace protocol { | 30 namespace protocol { |
35 class PairingRegistry; | 31 class PairingRegistry; |
36 } // namespace protocol | 32 } // namespace protocol |
37 | 33 |
38 class ChromotingHostContext; | 34 class ChromotingHostContext; |
39 class ElevatedNativeMessagingHost; | 35 class ElevatedNativeMessagingHost; |
40 class LogMessageHandler; | 36 class LogMessageHandler; |
41 | 37 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 144 |
149 base::WeakPtr<Me2MeNativeMessagingHost> weak_ptr_; | 145 base::WeakPtr<Me2MeNativeMessagingHost> weak_ptr_; |
150 base::WeakPtrFactory<Me2MeNativeMessagingHost> weak_factory_; | 146 base::WeakPtrFactory<Me2MeNativeMessagingHost> weak_factory_; |
151 | 147 |
152 DISALLOW_COPY_AND_ASSIGN(Me2MeNativeMessagingHost); | 148 DISALLOW_COPY_AND_ASSIGN(Me2MeNativeMessagingHost); |
153 }; | 149 }; |
154 | 150 |
155 } // namespace remoting | 151 } // namespace remoting |
156 | 152 |
157 #endif // REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ | 153 #endif // REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ |
OLD | NEW |