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

Unified Diff: jingle/notifier/base/notifier_options.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: Lint error fixed 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/base/notifier_options.h
===================================================================
--- jingle/notifier/base/notifier_options.h (revision 77157)
+++ jingle/notifier/base/notifier_options.h (working copy)
@@ -5,6 +5,8 @@
#ifndef JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_H_
#define JINGLE_NOTIFIER_BASE_NOTIFIER_OPTIONS_H_
+#include <string>
+
#include "jingle/notifier/base/notification_method.h"
#include "net/base/host_port_pair.h"
@@ -36,6 +38,10 @@
// Indicates the method used by sync clients while sending and listening to
// notifications.
NotificationMethod notification_method;
+
+ // Specifies the auth mechanism to use ("X-GOOGLE-TOKEN", "X-OAUTH2" etc),
+ // If left empty, the underlying login code uses "X-GOOGLE-TOKEN" by default.
+ std::string auth_mechanism;
akalin 2011/03/08 22:55:37 What do you think about using an enum to pass arou
sanjeevr 2011/03/08 23:01:41 I used a string because it maps well to the SaslCo
akalin 2011/03/08 23:44:36 Fair enough. Although I expect we'll eventually s
};
} // namespace notifier

Powered by Google App Engine
This is Rietveld 408576698