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

Side by Side Diff: remoting/client/plugin/chromoting_instance.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 2 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
« no previous file with comments | « net/websockets/websocket_channel.h ('k') | remoting/host/audio_capturer_win.h » ('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_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
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_
OLDNEW
« no previous file with comments | « net/websockets/websocket_channel.h ('k') | remoting/host/audio_capturer_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698