Chromium Code Reviews| 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 |