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_NATIVE_MESSAGING_HOST_H_ | 5 #ifndef REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ |
6 #define REMOTING_HOST_SETUP_NATIVE_MESSAGING_HOST_H_ | 6 #define REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
| 12 #include "remoting/host/native_messaging/native_messaging_channel.h" |
12 #include "remoting/host/setup/daemon_controller.h" | 13 #include "remoting/host/setup/daemon_controller.h" |
13 #include "remoting/host/setup/native_messaging_channel.h" | |
14 #include "remoting/host/setup/oauth_client.h" | 14 #include "remoting/host/setup/oauth_client.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class DictionaryValue; | 17 class DictionaryValue; |
18 class ListValue; | 18 class ListValue; |
19 } // namespace base | 19 } // namespace base |
20 | 20 |
21 namespace gaia { | 21 namespace gaia { |
22 class GaiaOAuthClient; | 22 class GaiaOAuthClient; |
23 } // namespace gaia | 23 } // namespace gaia |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 DISALLOW_COPY_AND_ASSIGN(NativeMessagingHost); | 149 DISALLOW_COPY_AND_ASSIGN(NativeMessagingHost); |
150 }; | 150 }; |
151 | 151 |
152 // Creates a NativeMessagingHost instance, attaches it to stdin/stdout and runs | 152 // Creates a NativeMessagingHost instance, attaches it to stdin/stdout and runs |
153 // the message loop until NativeMessagingHost signals shutdown. | 153 // the message loop until NativeMessagingHost signals shutdown. |
154 int NativeMessagingHostMain(); | 154 int NativeMessagingHostMain(); |
155 | 155 |
156 } // namespace remoting | 156 } // namespace remoting |
157 | 157 |
158 #endif // REMOTING_HOST_SETUP_NATIVE_MESSAGING_HOST_H_ | 158 #endif // REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ |
OLD | NEW |