Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: remoting/host/plugin/host_script_object.h

Issue 10572005: Use SingleThreadTaskRunner instead of MessageLoopProxy in remoting/host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 270
271 base::Lock access_code_lock_; 271 base::Lock access_code_lock_;
272 std::string access_code_; 272 std::string access_code_;
273 base::TimeDelta access_code_lifetime_; 273 base::TimeDelta access_code_lifetime_;
274 274
275 std::string client_username_; 275 std::string client_username_;
276 ScopedRefNPObject log_debug_info_func_; 276 ScopedRefNPObject log_debug_info_func_;
277 ScopedRefNPObject on_nat_traversal_policy_changed_func_; 277 ScopedRefNPObject on_nat_traversal_policy_changed_func_;
278 ScopedRefNPObject on_state_changed_func_; 278 ScopedRefNPObject on_state_changed_func_;
279 base::PlatformThreadId np_thread_id_; 279 base::PlatformThreadId np_thread_id_;
280 scoped_refptr<PluginMessageLoopProxy> plugin_message_loop_proxy_; 280 scoped_refptr<PluginMessageLoopProxy> plugin_task_runner_;
281 281
282 scoped_ptr<ChromotingHostContext> host_context_; 282 scoped_ptr<ChromotingHostContext> host_context_;
283 HostKeyPair host_key_pair_; 283 HostKeyPair host_key_pair_;
284 scoped_ptr<SignalStrategy> signal_strategy_; 284 scoped_ptr<SignalStrategy> signal_strategy_;
285 scoped_ptr<RegisterSupportHostRequest> register_request_; 285 scoped_ptr<RegisterSupportHostRequest> register_request_;
286 scoped_ptr<LogToServer> log_to_server_; 286 scoped_ptr<LogToServer> log_to_server_;
287 scoped_ptr<DesktopEnvironment> desktop_environment_; 287 scoped_ptr<DesktopEnvironment> desktop_environment_;
288 scoped_ptr<It2MeHostUserInterface> it2me_host_user_interface_; 288 scoped_ptr<It2MeHostUserInterface> it2me_host_user_interface_;
289 289
290 scoped_refptr<ChromotingHost> host_; 290 scoped_refptr<ChromotingHost> host_;
(...skipping 30 matching lines...) Expand all
321 // SequencedWorkerPool. Problem is that SequencedWorkerPool relies 321 // SequencedWorkerPool. Problem is that SequencedWorkerPool relies
322 // on MessageLoopProxy::current(). 322 // on MessageLoopProxy::current().
323 base::Thread worker_thread_; 323 base::Thread worker_thread_;
324 324
325 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject); 325 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject);
326 }; 326 };
327 327
328 } // namespace remoting 328 } // namespace remoting
329 329
330 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ 330 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698