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

Unified Diff: jingle/notifier/communicator/login_settings.h

Issue 6649006: Added support for other authentication mechanisms in jingle. This will allow ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Review comments addressed Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: jingle/notifier/communicator/login_settings.h
===================================================================
--- jingle/notifier/communicator/login_settings.h (revision 77157)
+++ jingle/notifier/communicator/login_settings.h (working copy)
@@ -35,7 +35,8 @@
net::CertVerifier* cert_verifier,
ServerInformation* server_list,
int server_count,
- bool try_ssltcp_first);
+ bool try_ssltcp_first,
+ const std::string& auth_mechanism);
~LoginSettings();
@@ -74,6 +75,10 @@
void set_server_override(const net::HostPortPair& server);
void clear_server_override();
+ std::string auth_mechanism() const {
+ return auth_mechanism_;
+ }
+
private:
bool try_ssltcp_first_;
@@ -86,6 +91,8 @@
scoped_ptr<buzz::XmppClientSettings> user_settings_;
scoped_ptr<ConnectionOptions> connection_options_;
+ std::string auth_mechanism_;
+
DISALLOW_COPY_AND_ASSIGN(LoginSettings);
};
} // namespace notifier

Powered by Google App Engine
This is Rietveld 408576698