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 PolicyWatcher; | 45 class PolicyWatcher; |
45 } // namespace policy_hack | 46 } // namespace policy_hack |
46 | 47 |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 base::PlatformThreadId np_thread_id_; | 305 base::PlatformThreadId np_thread_id_; |
305 scoped_refptr<PluginMessageLoopProxy> plugin_task_runner_; | 306 scoped_refptr<PluginMessageLoopProxy> plugin_task_runner_; |
306 | 307 |
307 scoped_ptr<ChromotingHostContext> host_context_; | 308 scoped_ptr<ChromotingHostContext> host_context_; |
308 HostKeyPair host_key_pair_; | 309 HostKeyPair host_key_pair_; |
309 scoped_ptr<SignalStrategy> signal_strategy_; | 310 scoped_ptr<SignalStrategy> signal_strategy_; |
310 scoped_ptr<RegisterSupportHostRequest> register_request_; | 311 scoped_ptr<RegisterSupportHostRequest> register_request_; |
311 scoped_ptr<LogToServer> log_to_server_; | 312 scoped_ptr<LogToServer> log_to_server_; |
312 scoped_ptr<DesktopEnvironment> desktop_environment_; | 313 scoped_ptr<DesktopEnvironment> desktop_environment_; |
313 scoped_ptr<It2MeHostUserInterface> it2me_host_user_interface_; | 314 scoped_ptr<It2MeHostUserInterface> it2me_host_user_interface_; |
| 315 scoped_ptr<HostEventLogger> host_event_logger_; |
314 | 316 |
315 scoped_refptr<ChromotingHost> host_; | 317 scoped_refptr<ChromotingHost> host_; |
316 int failed_login_attempts_; | 318 int failed_login_attempts_; |
317 | 319 |
318 UiStrings ui_strings_; | 320 UiStrings ui_strings_; |
319 base::Lock ui_strings_lock_; | 321 base::Lock ui_strings_lock_; |
320 | 322 |
321 base::WaitableEvent disconnected_event_; | 323 base::WaitableEvent disconnected_event_; |
322 | 324 |
323 base::Lock nat_policy_lock_; | 325 base::Lock nat_policy_lock_; |
(...skipping 22 matching lines...) Expand all Loading... |
346 // SequencedWorkerPool. Problem is that SequencedWorkerPool relies | 348 // SequencedWorkerPool. Problem is that SequencedWorkerPool relies |
347 // on MessageLoopProxy::current(). | 349 // on MessageLoopProxy::current(). |
348 base::Thread worker_thread_; | 350 base::Thread worker_thread_; |
349 | 351 |
350 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject); | 352 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject); |
351 }; | 353 }; |
352 | 354 |
353 } // namespace remoting | 355 } // namespace remoting |
354 | 356 |
355 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ | 357 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ |
OLD | NEW |