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_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
6 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 6 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 280 |
281 // Used to control text input settings, such as whether to show the IME. | 281 // Used to control text input settings, such as whether to show the IME. |
282 pp::TextInputController text_input_controller_; | 282 pp::TextInputController text_input_controller_; |
283 | 283 |
284 // PIN Fetcher. | 284 // PIN Fetcher. |
285 bool use_async_pin_dialog_; | 285 bool use_async_pin_dialog_; |
286 protocol::SecretFetchedCallback secret_fetched_callback_; | 286 protocol::SecretFetchedCallback secret_fetched_callback_; |
287 | 287 |
288 base::WeakPtr<TokenFetcherProxy> token_fetcher_proxy_; | 288 base::WeakPtr<TokenFetcherProxy> token_fetcher_proxy_; |
289 | 289 |
290 base::RepeatingTimer<ChromotingInstance> stats_update_timer_; | 290 base::RepeatingTimer stats_update_timer_; |
291 | 291 |
292 base::TimeTicks connection_started_time; | 292 base::TimeTicks connection_started_time; |
293 base::TimeTicks connection_authenticated_time_; | 293 base::TimeTicks connection_authenticated_time_; |
294 base::TimeTicks connection_connected_time_; | 294 base::TimeTicks connection_connected_time_; |
295 | 295 |
296 // Weak reference to this instance, used for global logging and task posting. | 296 // Weak reference to this instance, used for global logging and task posting. |
297 base::WeakPtrFactory<ChromotingInstance> weak_factory_; | 297 base::WeakPtrFactory<ChromotingInstance> weak_factory_; |
298 | 298 |
299 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 299 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
300 }; | 300 }; |
301 | 301 |
302 } // namespace remoting | 302 } // namespace remoting |
303 | 303 |
304 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 304 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
OLD | NEW |