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

Side by Side Diff: jingle/notifier/communicator/login.h

Issue 10873018: [net] Move DnsConfigService to NetworkChangeNotifier. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | jingle/notifier/communicator/login.cc » ('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 JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_
6 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ 6 #define JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void UpdateXmppSettings(const buzz::XmppClientSettings& user_settings); 83 void UpdateXmppSettings(const buzz::XmppClientSettings& user_settings);
84 84
85 // net::NetworkChangeNotifier::IPAddressObserver implementation. 85 // net::NetworkChangeNotifier::IPAddressObserver implementation.
86 virtual void OnIPAddressChanged() OVERRIDE; 86 virtual void OnIPAddressChanged() OVERRIDE;
87 87
88 // net::NetworkChangeNotifier::ConnectionTypeObserver implementation. 88 // net::NetworkChangeNotifier::ConnectionTypeObserver implementation.
89 virtual void OnConnectionTypeChanged( 89 virtual void OnConnectionTypeChanged(
90 net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; 90 net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
91 91
92 // net::NetworkChangeNotifier::DNSObserver implementation. 92 // net::NetworkChangeNotifier::DNSObserver implementation.
93 virtual void OnDNSChanged(unsigned detail) OVERRIDE; 93 virtual void OnDNSChanged() OVERRIDE;
94 94
95 // SingleLoginAttempt::Delegate implementation. 95 // SingleLoginAttempt::Delegate implementation.
96 virtual void OnConnect( 96 virtual void OnConnect(
97 base::WeakPtr<buzz::XmppTaskParentInterface> base_task) OVERRIDE; 97 base::WeakPtr<buzz::XmppTaskParentInterface> base_task) OVERRIDE;
98 virtual void OnRedirect(const ServerInformation& redirect_server) OVERRIDE; 98 virtual void OnRedirect(const ServerInformation& redirect_server) OVERRIDE;
99 virtual void OnCredentialsRejected() OVERRIDE; 99 virtual void OnCredentialsRejected() OVERRIDE;
100 virtual void OnSettingsExhausted() OVERRIDE; 100 virtual void OnSettingsExhausted() OVERRIDE;
101 101
102 private: 102 private:
103 // Called by the various network notifications. 103 // Called by the various network notifications.
(...skipping 18 matching lines...) Expand all
122 // reconnection state. 122 // reconnection state.
123 base::TimeDelta reconnect_interval_; 123 base::TimeDelta reconnect_interval_;
124 base::OneShotTimer<Login> reconnect_timer_; 124 base::OneShotTimer<Login> reconnect_timer_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(Login); 126 DISALLOW_COPY_AND_ASSIGN(Login);
127 }; 127 };
128 128
129 } // namespace notifier 129 } // namespace notifier
130 130
131 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_ 131 #endif // JINGLE_NOTIFIER_COMMUNICATOR_LOGIN_H_
OLDNEW
« no previous file with comments | « no previous file | jingle/notifier/communicator/login.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698