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

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

Issue 10837231: sync: add InternalComponentsFactory::Switches to simplify passing switches to internal components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pass switches in test_profile_sync_service.cc Created 8 years, 4 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
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 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 // Allows insecure XMPP connections for sync (for testing). 1254 // Allows insecure XMPP connections for sync (for testing).
1255 const char kSyncAllowInsecureXmppConnection[] = 1255 const char kSyncAllowInsecureXmppConnection[] =
1256 "sync-allow-insecure-xmpp-connection"; 1256 "sync-allow-insecure-xmpp-connection";
1257 1257
1258 // Invalidates any login info passed into sync's XMPP connection. 1258 // Invalidates any login info passed into sync's XMPP connection.
1259 const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login"; 1259 const char kSyncInvalidateXmppLogin[] = "sync-invalidate-xmpp-login";
1260 1260
1261 // Enable support for keystore key based encryption. 1261 // Enable support for keystore key based encryption.
1262 const char kSyncKeystoreEncryption[] = "sync-keystore-encryption"; 1262 const char kSyncKeystoreEncryption[] = "sync-keystore-encryption";
1263 1263
1264 // This flag causes sync to retry very quickly (see polling_constants.h) the
1265 // when it encounters an error, as the first step towards exponential backoff.
1266 const char kSyncShortInitialRetryOverride[] =
1267 "sync-short-initial-retry-override";
1268
1264 // Overrides the default notification method for sync. 1269 // Overrides the default notification method for sync.
1265 const char kSyncNotificationMethod[] = "sync-notification-method"; 1270 const char kSyncNotificationMethod[] = "sync-notification-method";
1266 1271
1267 // Overrides the default host:port used for sync notifications. 1272 // Overrides the default host:port used for sync notifications.
1268 const char kSyncNotificationHostPort[] = "sync-notification-host-port"; 1273 const char kSyncNotificationHostPort[] = "sync-notification-host-port";
1269 1274
1270 // Overrides the default server used for profile sync. 1275 // Overrides the default server used for profile sync.
1271 const char kSyncServiceURL[] = "sync-url"; 1276 const char kSyncServiceURL[] = "sync-url";
1272 1277
1273 // Enables syncing of favicons as part of tab sync. 1278 // Enables syncing of favicons as part of tab sync.
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 1572
1568 // ----------------------------------------------------------------------------- 1573 // -----------------------------------------------------------------------------
1569 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1574 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1570 // 1575 //
1571 // You were going to just dump your switches here, weren't you? Instead, please 1576 // You were going to just dump your switches here, weren't you? Instead, please
1572 // put them in alphabetical order above, or in order inside the appropriate 1577 // put them in alphabetical order above, or in order inside the appropriate
1573 // ifdef at the bottom. The order should match the header. 1578 // ifdef at the bottom. The order should match the header.
1574 // ----------------------------------------------------------------------------- 1579 // -----------------------------------------------------------------------------
1575 1580
1576 } // namespace switches 1581 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698