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

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

Issue 1308313003: Componentize chrome/common/sync_util (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/sync_util.h » ('j') | 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 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 const char kSupervisedUserId[] = "managed-user-id"; 1049 const char kSupervisedUserId[] = "managed-user-id";
1050 1050
1051 // Enables/disables SafeSites filtering for supervised users. Possible values 1051 // Enables/disables SafeSites filtering for supervised users. Possible values
1052 // are "enabled", "disabled", "blacklist-only", and "online-check-only". 1052 // are "enabled", "disabled", "blacklist-only", and "online-check-only".
1053 const char kSupervisedUserSafeSites[] = "supervised-user-safesites"; 1053 const char kSupervisedUserSafeSites[] = "supervised-user-safesites";
1054 1054
1055 // Used to authenticate requests to the Sync service for supervised users. 1055 // Used to authenticate requests to the Sync service for supervised users.
1056 // Setting this switch also causes Sync to be set up for a supervised user. 1056 // Setting this switch also causes Sync to be set up for a supervised user.
1057 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; 1057 const char kSupervisedUserSyncToken[] = "managed-user-sync-token";
1058 1058
1059 // This flag causes sync to retry very quickly (see polling_constants.h) the
1060 // when it encounters an error, as the first step towards exponential backoff.
1061 const char kSyncShortInitialRetryOverride[] =
1062 "sync-short-initial-retry-override";
1063
1064 // Overrides the default server used for profile sync.
1065 const char kSyncServiceURL[] = "sync-url";
1066
1067 // Enables deferring sync backend initialization until user initiated changes
1068 // occur.
1069 const char kSyncDisableDeferredStartup[] = "sync-disable-deferred-startup";
1070
1071 // Allows overriding the deferred init fallback timeout.
1072 const char kSyncDeferredStartupTimeoutSeconds[] =
1073 "sync-deferred-startup-timeout-seconds";
1074
1075 // Enables feature to avoid unnecessary GetUpdate requests.
1076 const char kSyncEnableGetUpdateAvoidance[] =
1077 "sync-enable-get-update-avoidance";
1078
1079 // Enables clearing of sync data when a user enables passphrase encryption.
1080 const char kSyncEnableClearDataOnPassphraseEncryption[] =
1081 "enable-clear-sync-data-on-passphrase-encryption";
1082
1083 // Disable data backup when user's not signed in.
1084 const char kSyncDisableBackup[] = "disable-sync-backup";
1085
1086 // Disable sync rollback.
1087 const char kSyncDisableRollback[] = "disable-sync-rollback";
1088
1089 // Frequency in Milliseconds for system log uploads. Should only be used for 1059 // Frequency in Milliseconds for system log uploads. Should only be used for
1090 // testing purposes. 1060 // testing purposes.
1091 const char kSystemLogUploadFrequency[] = "system-log-upload-frequency"; 1061 const char kSystemLogUploadFrequency[] = "system-log-upload-frequency";
1092 1062
1093 // Passes the name of the current running automated test to Chrome. 1063 // Passes the name of the current running automated test to Chrome.
1094 const char kTestName[] = "test-name"; 1064 const char kTestName[] = "test-name";
1095 1065
1096 // Disables same-origin check on HTTP resources pushed via a SPDY proxy. 1066 // Disables same-origin check on HTTP resources pushed via a SPDY proxy.
1097 // The value is the host:port of the trusted proxy. 1067 // The value is the host:port of the trusted proxy.
1098 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy"; 1068 const char kTrustedSpdyProxy[] = "trusted-spdy-proxy";
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 1356
1387 // ----------------------------------------------------------------------------- 1357 // -----------------------------------------------------------------------------
1388 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1358 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1389 // 1359 //
1390 // You were going to just dump your switches here, weren't you? Instead, please 1360 // You were going to just dump your switches here, weren't you? Instead, please
1391 // put them in alphabetical order above, or in order inside the appropriate 1361 // put them in alphabetical order above, or in order inside the appropriate
1392 // ifdef at the bottom. The order should match the header. 1362 // ifdef at the bottom. The order should match the header.
1393 // ----------------------------------------------------------------------------- 1363 // -----------------------------------------------------------------------------
1394 1364
1395 } // namespace switches 1365 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/sync_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698