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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 9550009: [Sync] Move dependency on Chrome switches from SyncNotifierFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | 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 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 // Allows insecure XMPP connections for sync (for testing). 1087 // Allows insecure XMPP connections for sync (for testing).
1088 const char kSyncAllowInsecureXmppConnection[] = 1088 const char kSyncAllowInsecureXmppConnection[] =
1089 "sync-allow-insecure-xmpp-connection"; 1089 "sync-allow-insecure-xmpp-connection";
1090 1090
1091 // Invalidates any login info passed into sync's XMPP connection. 1091 // Invalidates any login info passed into sync's XMPP connection.
1092 const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login"; 1092 const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login";
1093 1093
1094 // Overrides the default notification method for sync. 1094 // Overrides the default notification method for sync.
1095 const char kSyncNotificationMethod[] = "sync-notification-method"; 1095 const char kSyncNotificationMethod[] = "sync-notification-method";
1096 1096
1097 // Overrides the default host used for sync notifications. Can be either "host" 1097 // Overrides the default host:port used for sync notifications.
1098 // or "host:port". 1098 const char kSyncNotificationHostPort[] = "sync-notification-host-port";
1099 const char kSyncNotificationHost[] = "sync-notification-host";
1100 1099
1101 // Specifies the sync promo version to display. 1100 // Specifies the sync promo version to display.
1102 const char kSyncPromoVersion[] = "sync-promo-version"; 1101 const char kSyncPromoVersion[] = "sync-promo-version";
1103 1102
1104 // Overrides the default server used for profile sync. 1103 // Overrides the default server used for profile sync.
1105 const char kSyncServiceURL[] = "sync-url"; 1104 const char kSyncServiceURL[] = "sync-url";
1106 1105
1107 // Makes the sync code to throw an unrecoverable error after initialization. 1106 // Makes the sync code to throw an unrecoverable error after initialization.
1108 // Useful for testing unrecoverable error scenarios. 1107 // Useful for testing unrecoverable error scenarios.
1109 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error"; 1108 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error";
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 1355
1357 // ----------------------------------------------------------------------------- 1356 // -----------------------------------------------------------------------------
1358 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1357 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1359 // 1358 //
1360 // You were going to just dump your switches here, weren't you? Instead, please 1359 // You were going to just dump your switches here, weren't you? Instead, please
1361 // put them in alphabetical order above, or in order inside the appropriate 1360 // put them in alphabetical order above, or in order inside the appropriate
1362 // ifdef at the bottom. The order should match the header. 1361 // ifdef at the bottom. The order should match the header.
1363 // ----------------------------------------------------------------------------- 1362 // -----------------------------------------------------------------------------
1364 1363
1365 } // namespace switches 1364 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698