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 // Time when a connection request was started. | |
292 base::Time connection_connecting_; | |
Sergey Ulanov
2015/08/20 21:05:19
use base::TimeTicks, instead of base::Time.
Sergey Ulanov
2015/08/20 21:05:19
nit: rename these to indicate the purpose more cle
anandc
2015/08/20 23:12:01
Done.
anandc
2015/08/20 23:12:01
Done.
| |
293 // Time when a connection request was authenticated. | |
294 base::Time connection_authenticated_; | |
295 // Time when a connection request was connected. | |
296 base::Time connection_connected_; | |
297 | |
291 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 298 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
292 }; | 299 }; |
293 | 300 |
294 } // namespace remoting | 301 } // namespace remoting |
295 | 302 |
296 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 303 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
OLD | NEW |