| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "components/invalidation/invalidation_switches.h" | 5 #include "components/invalidation/invalidation_switches.h" |
| 6 | 6 |
| 7 namespace invalidation { | 7 namespace invalidation { |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // Overrides the default host:port used for notifications. | 10 // Overrides the default host:port used for notifications. |
| 11 const char kSyncNotificationHostPort[] = "sync-notification-host-port"; | 11 const char kSyncNotificationHostPort[] = "sync-notification-host-port"; |
| 12 | 12 |
| 13 // Tries to connect to XMPP using SSLTCP first (for testing). | |
| 14 const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp"; | |
| 15 | |
| 16 // Invalidates any login info passed into sync's XMPP connection. | |
| 17 const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login"; | |
| 18 | |
| 19 // Allows insecure XMPP connections for sync (for testing). | 13 // Allows insecure XMPP connections for sync (for testing). |
| 20 const char kSyncAllowInsecureXmppConnection[] = | 14 const char kSyncAllowInsecureXmppConnection[] = |
| 21 "sync-allow-insecure-xmpp-connection"; | 15 "sync-allow-insecure-xmpp-connection"; |
| 22 | 16 |
| 23 } // namespace switches | 17 } // namespace switches |
| 24 } // namespace invalidation | 18 } // namespace invalidation |
| OLD | NEW |