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

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

Issue 13461029: The continue window is owned by the desktop environment now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 8 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
« no previous file with comments | « remoting/host/me2me_desktop_environment.cc ('k') | remoting/host/plugin/host_script_object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/string16.h"
15 #include "base/synchronization/cancellation_flag.h" 16 #include "base/synchronization/cancellation_flag.h"
16 #include "base/synchronization/lock.h" 17 #include "base/synchronization/lock.h"
17 #include "base/synchronization/waitable_event.h" 18 #include "base/synchronization/waitable_event.h"
18 #include "base/string16.h" 19 #include "base/thread_task_runner_handle.h"
19 #include "base/threading/platform_thread.h" 20 #include "base/threading/platform_thread.h"
20 #include "base/threading/thread.h" 21 #include "base/threading/thread.h"
21 #include "base/time.h" 22 #include "base/time.h"
22 #include "remoting/base/auto_thread_task_runner.h" 23 #include "remoting/base/auto_thread_task_runner.h"
23 #include "remoting/host/chromoting_host_context.h" 24 #include "remoting/host/chromoting_host_context.h"
24 #include "remoting/host/log_to_server.h" 25 #include "remoting/host/log_to_server.h"
25 #include "remoting/host/plugin/host_plugin_utils.h" 26 #include "remoting/host/plugin/host_plugin_utils.h"
26 #include "remoting/host/setup/daemon_controller.h" 27 #include "remoting/host/setup/daemon_controller.h"
27 #include "remoting/host/ui_strings.h" 28 #include "remoting/host/ui_strings.h"
28 #include "remoting/jingle_glue/xmpp_signal_strategy.h" 29 #include "remoting/jingle_glue/xmpp_signal_strategy.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 251
251 // Set an exception for the current call. 252 // Set an exception for the current call.
252 void SetException(const std::string& exception_string); 253 void SetException(const std::string& exception_string);
253 254
254 ////////////////////////////////////////////////////////// 255 //////////////////////////////////////////////////////////
255 // Plugin state variables shared between It2Me and Me2Me. 256 // Plugin state variables shared between It2Me and Me2Me.
256 257
257 NPP plugin_; 258 NPP plugin_;
258 NPObject* parent_; 259 NPObject* parent_;
259 scoped_refptr<AutoThreadTaskRunner> plugin_task_runner_; 260 scoped_refptr<AutoThreadTaskRunner> plugin_task_runner_;
261 scoped_ptr<base::ThreadTaskRunnerHandle> plugin_task_runner_handle_;
260 262
261 // True if we're in the middle of handling a log message. 263 // True if we're in the middle of handling a log message.
262 bool am_currently_logging_; 264 bool am_currently_logging_;
263 265
264 ScopedRefNPObject log_debug_info_func_; 266 ScopedRefNPObject log_debug_info_func_;
265 267
266 ////////////////////////////////////////////////////////// 268 //////////////////////////////////////////////////////////
267 // It2Me host state. 269 // It2Me host state.
268 270
269 // Internal implementation of the It2Me host function. 271 // Internal implementation of the It2Me host function.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // Used to cancel pending tasks for this object when it is destroyed. 307 // Used to cancel pending tasks for this object when it is destroyed.
306 base::WeakPtrFactory<HostNPScriptObject> weak_factory_; 308 base::WeakPtrFactory<HostNPScriptObject> weak_factory_;
307 base::WeakPtr<HostNPScriptObject> weak_ptr_; 309 base::WeakPtr<HostNPScriptObject> weak_ptr_;
308 310
309 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject); 311 DISALLOW_COPY_AND_ASSIGN(HostNPScriptObject);
310 }; 312 };
311 313
312 } // namespace remoting 314 } // namespace remoting
313 315
314 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ 316 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_
OLDNEW
« no previous file with comments | « remoting/host/me2me_desktop_environment.cc ('k') | remoting/host/plugin/host_script_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698