OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_PLUGIN_HOST_SCRIPT_OBJECT_H_ | 5 #ifndef REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ |
6 #define REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ | 6 #define REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "remoting/host/plugin/host_plugin_utils.h" | 24 #include "remoting/host/plugin/host_plugin_utils.h" |
25 #include "remoting/host/ui_strings.h" | 25 #include "remoting/host/ui_strings.h" |
26 #include "third_party/npapi/bindings/npapi.h" | 26 #include "third_party/npapi/bindings/npapi.h" |
27 #include "third_party/npapi/bindings/npfunctions.h" | 27 #include "third_party/npapi/bindings/npfunctions.h" |
28 #include "third_party/npapi/bindings/npruntime.h" | 28 #include "third_party/npapi/bindings/npruntime.h" |
29 | 29 |
30 namespace remoting { | 30 namespace remoting { |
31 | 31 |
32 class ChromotingHost; | 32 class ChromotingHost; |
33 class DesktopEnvironment; | 33 class DesktopEnvironment; |
| 34 class It2MeObserver; |
34 class MutableHostConfig; | 35 class MutableHostConfig; |
35 class RegisterSupportHostRequest; | 36 class RegisterSupportHostRequest; |
36 class SignalStrategy; | 37 class SignalStrategy; |
37 class SupportAccessVerifier; | 38 class SupportAccessVerifier; |
38 | 39 |
39 namespace policy_hack { | 40 namespace policy_hack { |
40 class NatPolicy; | 41 class NatPolicy; |
41 } // namespace policy_hack | 42 } // namespace policy_hack |
42 | 43 |
43 // NPAPI plugin implementation for remoting host script object. | 44 // NPAPI plugin implementation for remoting host script object. |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 ScopedRefNPObject on_nat_traversal_policy_changed_func_; | 176 ScopedRefNPObject on_nat_traversal_policy_changed_func_; |
176 ScopedRefNPObject on_state_changed_func_; | 177 ScopedRefNPObject on_state_changed_func_; |
177 base::PlatformThreadId np_thread_id_; | 178 base::PlatformThreadId np_thread_id_; |
178 scoped_refptr<PluginMessageLoopProxy> plugin_message_loop_proxy_; | 179 scoped_refptr<PluginMessageLoopProxy> plugin_message_loop_proxy_; |
179 | 180 |
180 scoped_ptr<RegisterSupportHostRequest> register_request_; | 181 scoped_ptr<RegisterSupportHostRequest> register_request_; |
181 scoped_ptr<LogToServer> log_to_server_; | 182 scoped_ptr<LogToServer> log_to_server_; |
182 scoped_refptr<MutableHostConfig> host_config_; | 183 scoped_refptr<MutableHostConfig> host_config_; |
183 ChromotingHostContext host_context_; | 184 ChromotingHostContext host_context_; |
184 scoped_ptr<DesktopEnvironment> desktop_environment_; | 185 scoped_ptr<DesktopEnvironment> desktop_environment_; |
| 186 scoped_ptr<It2MeObserver> it2me_observer_; |
185 | 187 |
186 scoped_refptr<ChromotingHost> host_; | 188 scoped_refptr<ChromotingHost> host_; |
187 int failed_login_attempts_; | 189 int failed_login_attempts_; |
188 | 190 |
189 UiStrings ui_strings_; | 191 UiStrings ui_strings_; |
190 base::Lock ui_strings_lock_; | 192 base::Lock ui_strings_lock_; |
191 | 193 |
192 base::WaitableEvent disconnected_event_; | 194 base::WaitableEvent disconnected_event_; |
193 | 195 |
194 // True if we're in the middle of handling a log message. | 196 // True if we're in the middle of handling a log message. |
(...skipping 19 matching lines...) Expand all Loading... |
214 // it can be executed after at least one successful policy read. This | 216 // it can be executed after at least one successful policy read. This |
215 // variable contains the thunk if it is necessary. | 217 // variable contains the thunk if it is necessary. |
216 base::Closure pending_connect_; | 218 base::Closure pending_connect_; |
217 }; | 219 }; |
218 | 220 |
219 } // namespace remoting | 221 } // namespace remoting |
220 | 222 |
221 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::HostNPScriptObject); | 223 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::HostNPScriptObject); |
222 | 224 |
223 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ | 225 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ |
OLD | NEW |