OLD | NEW |
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/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1583 | 1583 |
1584 // Opaque state from the invalidation subsystem that is persisted via prefs. | 1584 // Opaque state from the invalidation subsystem that is persisted via prefs. |
1585 // The value is base 64 encoded. | 1585 // The value is base 64 encoded. |
1586 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state"; | 1586 const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state"; |
1587 | 1587 |
1588 // A string that can be used to restore sync encryption infrastructure on | 1588 // A string that can be used to restore sync encryption infrastructure on |
1589 // startup so that the user doesn't need to provide credentials on each start. | 1589 // startup so that the user doesn't need to provide credentials on each start. |
1590 const char kSyncEncryptionBootstrapToken[] = | 1590 const char kSyncEncryptionBootstrapToken[] = |
1591 "sync.encryption_bootstrap_token"; | 1591 "sync.encryption_bootstrap_token"; |
1592 | 1592 |
| 1593 // Same as kSyncEncryptionBootstrapToken, but derived from the keystore key, |
| 1594 // so we don't have to do a GetKey command at restart. |
| 1595 const char kSyncKeystoreEncryptionBootstrapToken[] = |
| 1596 "sync.keystore_encryption_bootstrap_token"; |
| 1597 |
1593 // Boolean tracking whether the user chose to specify a secondary encryption | 1598 // Boolean tracking whether the user chose to specify a secondary encryption |
1594 // passphrase. | 1599 // passphrase. |
1595 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; | 1600 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; |
1596 | 1601 |
1597 // String that identifies the user logged into sync and other google services. | 1602 // String that identifies the user logged into sync and other google services. |
1598 const char kGoogleServicesUsername[] = "google.services.username"; | 1603 const char kGoogleServicesUsername[] = "google.services.username"; |
1599 | 1604 |
1600 // Local state pref containing a string regex that restricts which accounts | 1605 // Local state pref containing a string regex that restricts which accounts |
1601 // can be used to log in to chrome (e.g. "*@google.com"). If missing or blank, | 1606 // can be used to log in to chrome (e.g. "*@google.com"). If missing or blank, |
1602 // all accounts are allowed (no restrictions). | 1607 // all accounts are allowed (no restrictions). |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1932 const char kInManagedMode[] = "managed_mode"; | 1937 const char kInManagedMode[] = "managed_mode"; |
1933 | 1938 |
1934 // Counts how many more times the 'profile on a network share' warning should be | 1939 // Counts how many more times the 'profile on a network share' warning should be |
1935 // shown to the user before the next silence period. | 1940 // shown to the user before the next silence period. |
1936 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 1941 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
1937 // Tracks the time of the last shown warning. Used to reset | 1942 // Tracks the time of the last shown warning. Used to reset |
1938 // |network_profile.warnings_left| after a silence period. | 1943 // |network_profile.warnings_left| after a silence period. |
1939 const char kNetworkProfileLastWarningTime[] = | 1944 const char kNetworkProfileLastWarningTime[] = |
1940 "network_profile.last_warning_time"; | 1945 "network_profile.last_warning_time"; |
1941 } // namespace prefs | 1946 } // namespace prefs |
OLD | NEW |