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

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

Issue 8725016: Refactor IT2Me-specific functions into a HostObserver subclass. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation nits. Created 9 years 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/it2me_host_user_interface.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) 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
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 It2MeHostUserInterface;
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 ScopedRefNPObject on_nat_traversal_policy_changed_func_; 175 ScopedRefNPObject on_nat_traversal_policy_changed_func_;
175 ScopedRefNPObject on_state_changed_func_; 176 ScopedRefNPObject on_state_changed_func_;
176 base::PlatformThreadId np_thread_id_; 177 base::PlatformThreadId np_thread_id_;
177 scoped_refptr<PluginMessageLoopProxy> plugin_message_loop_proxy_; 178 scoped_refptr<PluginMessageLoopProxy> plugin_message_loop_proxy_;
178 179
179 scoped_ptr<RegisterSupportHostRequest> register_request_; 180 scoped_ptr<RegisterSupportHostRequest> register_request_;
180 scoped_ptr<LogToServer> log_to_server_; 181 scoped_ptr<LogToServer> log_to_server_;
181 scoped_refptr<MutableHostConfig> host_config_; 182 scoped_refptr<MutableHostConfig> host_config_;
182 ChromotingHostContext host_context_; 183 ChromotingHostContext host_context_;
183 scoped_ptr<DesktopEnvironment> desktop_environment_; 184 scoped_ptr<DesktopEnvironment> desktop_environment_;
185 scoped_ptr<It2MeHostUserInterface> it2me_host_user_interface_;
184 186
185 scoped_refptr<ChromotingHost> host_; 187 scoped_refptr<ChromotingHost> host_;
186 int failed_login_attempts_; 188 int failed_login_attempts_;
187 189
188 UiStrings ui_strings_; 190 UiStrings ui_strings_;
189 base::Lock ui_strings_lock_; 191 base::Lock ui_strings_lock_;
190 192
191 base::WaitableEvent disconnected_event_; 193 base::WaitableEvent disconnected_event_;
192 194
193 // True if we're in the middle of handling a log message. 195 // True if we're in the middle of handling a log message.
(...skipping 19 matching lines...) Expand all
213 // it can be executed after at least one successful policy read. This 215 // it can be executed after at least one successful policy read. This
214 // variable contains the thunk if it is necessary. 216 // variable contains the thunk if it is necessary.
215 base::Closure pending_connect_; 217 base::Closure pending_connect_;
216 }; 218 };
217 219
218 } // namespace remoting 220 } // namespace remoting
219 221
220 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::HostNPScriptObject); 222 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::HostNPScriptObject);
221 223
222 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_ 224 #endif // REMOTING_HOST_PLUGIN_HOST_SCRIPT_OBJECT_H_
OLDNEW
« no previous file with comments | « remoting/host/it2me_host_user_interface.cc ('k') | remoting/host/plugin/host_script_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698