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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 | 281 |
282 // PIN Fetcher. | 282 // PIN Fetcher. |
283 bool use_async_pin_dialog_; | 283 bool use_async_pin_dialog_; |
284 protocol::SecretFetchedCallback secret_fetched_callback_; | 284 protocol::SecretFetchedCallback secret_fetched_callback_; |
285 | 285 |
286 base::WeakPtr<TokenFetcherProxy> token_fetcher_proxy_; | 286 base::WeakPtr<TokenFetcherProxy> token_fetcher_proxy_; |
287 | 287 |
288 // Weak reference to this instance, used for global logging and task posting. | 288 // Weak reference to this instance, used for global logging and task posting. |
289 base::WeakPtrFactory<ChromotingInstance> weak_factory_; | 289 base::WeakPtrFactory<ChromotingInstance> weak_factory_; |
290 | 290 |
| 291 base::TimeTicks connection_started_time; |
| 292 base::TimeTicks connection_authenticated_time_; |
| 293 base::TimeTicks connection_connected_time_; |
| 294 |
291 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 295 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
292 }; | 296 }; |
293 | 297 |
294 } // namespace remoting | 298 } // namespace remoting |
295 | 299 |
296 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 300 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
OLD | NEW |