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

Side by Side Diff: remoting/host/signaling_connector.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, 3 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 | « remoting/host/setup/win/auth_code_getter.h ('k') | remoting/host/win/worker_process_launcher.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_HOST_SIGNALING_CONNECTOR_H_ 5 #ifndef REMOTING_HOST_SIGNALING_CONNECTOR_H_
6 #define REMOTING_HOST_SIGNALING_CONNECTOR_H_ 6 #define REMOTING_HOST_SIGNALING_CONNECTOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 XmppSignalStrategy* signal_strategy_; 63 XmppSignalStrategy* signal_strategy_;
64 base::Closure auth_failed_callback_; 64 base::Closure auth_failed_callback_;
65 scoped_ptr<DnsBlackholeChecker> dns_blackhole_checker_; 65 scoped_ptr<DnsBlackholeChecker> dns_blackhole_checker_;
66 66
67 OAuthTokenGetter* oauth_token_getter_; 67 OAuthTokenGetter* oauth_token_getter_;
68 68
69 // Number of times we tried to connect without success. 69 // Number of times we tried to connect without success.
70 int reconnect_attempts_; 70 int reconnect_attempts_;
71 71
72 base::OneShotTimer<SignalingConnector> timer_; 72 base::OneShotTimer timer_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(SignalingConnector); 74 DISALLOW_COPY_AND_ASSIGN(SignalingConnector);
75 }; 75 };
76 76
77 } // namespace remoting 77 } // namespace remoting
78 78
79 #endif // REMOTING_HOST_SIGNALING_CONNECTOR_H_ 79 #endif // REMOTING_HOST_SIGNALING_CONNECTOR_H_
OLDNEW
« no previous file with comments | « remoting/host/setup/win/auth_code_getter.h ('k') | remoting/host/win/worker_process_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698