OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 16 matching lines...) Expand all Loading... |
27 #include "remoting/host/plugin/host_plugin_utils.h" | 27 #include "remoting/host/plugin/host_plugin_utils.h" |
28 #include "remoting/host/ui_strings.h" | 28 #include "remoting/host/ui_strings.h" |
29 #include "third_party/npapi/bindings/npapi.h" | 29 #include "third_party/npapi/bindings/npapi.h" |
30 #include "third_party/npapi/bindings/npfunctions.h" | 30 #include "third_party/npapi/bindings/npfunctions.h" |
31 #include "third_party/npapi/bindings/npruntime.h" | 31 #include "third_party/npapi/bindings/npruntime.h" |
32 | 32 |
33 namespace remoting { | 33 namespace remoting { |
34 | 34 |
35 class ChromotingHost; | 35 class ChromotingHost; |
36 class DesktopEnvironment; | 36 class DesktopEnvironment; |
| 37 class HostEventLogger; |
37 class It2MeHostUserInterface; | 38 class It2MeHostUserInterface; |
38 class MutableHostConfig; | 39 class MutableHostConfig; |
39 class RegisterSupportHostRequest; | 40 class RegisterSupportHostRequest; |
40 class SignalStrategy; | 41 class SignalStrategy; |
41 class SupportAccessVerifier; | 42 class SupportAccessVerifier; |
42 | 43 |
43 namespace policy_hack { | 44 namespace policy_hack { |
44 class NatPolicy; | 45 class NatPolicy; |
45 } // namespace policy_hack | 46 } // namespace policy_hack |
46 | 47 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 base::PlatformThreadId np_thread_id_; | 293 base::PlatformThreadId np_thread_id_; |
293 scoped_refptr<PluginMessageLoopProxy> plugin_task_runner_; | 294 scoped_refptr<PluginMessageLoopProxy> plugin_task_runner_; |
294 | 295 |
295 scoped_ptr<ChromotingHostContext> host_context_; | 296 scoped_ptr<ChromotingHostContext> host_context_; |
296 HostKeyPair host_key_pair_; | 297 HostKeyPair host_key_pair_; |
297 scoped_ptr<SignalStrategy> signal_strategy_; | 298 scoped_ptr<SignalStrategy> signal_strategy_; |
298 scoped_ptr<RegisterSupportHostRequest> register_request_; | 299 scoped_ptr<RegisterSupportHostRequest> register_request_; |
299 scoped_ptr<LogToServer> log_to_server_; | 300 scoped_ptr<LogToServer> log_to_server_; |
300 scoped_ptr<DesktopEnvironment> desktop_environment_; | 301 scoped_ptr<DesktopEnvironment> desktop_environment_; |
301 scoped_ptr<It2MeHostUserInterface> it2me_host_user_interface_; | 302 scoped_ptr<It2MeHostUserInterface> it2me_host_user_interface_; |
| 303 scoped_ptr<HostEventLogger> host_event_logger_; |
302 | 304 |
303 scoped_refptr<ChromotingHost> host_; | 305 scoped_refptr<ChromotingHost> host_; |
304 int failed_login_attempts_; | 306 int failed_login_attempts_; |
305 | 307 |
306 UiStrings ui_strings_; | 308 UiStrings ui_strings_; |
307 base::Lock ui_strings_lock_; | 309 base::Lock ui_strings_lock_; |
308 | 310 |
309 base::WaitableEvent disconnected_event_; | 311 base::WaitableEvent disconnected_event_; |
310 | 312 |
311 base::Lock nat_policy_lock_; | 313 base::Lock nat_policy_lock_; |
(...skipping 22 matching lines...) Expand all Loading... |
334 // SequencedWorkerPool. Problem is that SequencedWorkerPool relies | 336 // SequencedWorkerPool. Problem is that SequencedWorkerPool relies |
335 // on MessageLoopProxy::current(). | 337 // on MessageLoopProxy::current(). |
336 base::Thread worker_thread_; | 338 base::Thread worker_thread_; |
337 | 339 |
338 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject); | 340 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject); |
339 }; | 341 }; |
340 | 342 |
341 } // namespace remoting | 343 } // namespace remoting |
342 | 344 |
343 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ | 345 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ |
OLD | NEW |