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

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

Issue 7481023: Adding notifications for new sync types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now stores acknowledged types in a ListValue, not a StringValue. Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 const char kSyncManaged[] = "sync.managed"; 1256 const char kSyncManaged[] = "sync.managed";
1257 1257
1258 // Boolean to prevent sync from automatically starting up. This is 1258 // Boolean to prevent sync from automatically starting up. This is
1259 // used when sync is disabled by the user via the privacy dashboard. 1259 // used when sync is disabled by the user via the privacy dashboard.
1260 const char kSyncSuppressStart[] = "sync.suppress_start"; 1260 const char kSyncSuppressStart[] = "sync.suppress_start";
1261 1261
1262 // Boolean to represent whether the legacy autofill profile data has been 1262 // Boolean to represent whether the legacy autofill profile data has been
1263 // migrated to the new model. 1263 // migrated to the new model.
1264 const char kAutofillProfileMigrated[] = "sync.autofill_migrated"; 1264 const char kAutofillProfileMigrated[] = "sync.autofill_migrated";
1265 1265
1266 // String representation of the currently acknowledged set of sync types,
akalin 2011/08/10 01:16:21 Update comment (not string anymore)
Andrew T Wilson (Slow) 2011/08/10 23:40:12 Done.
1267 // used to figure out if a new sync type has rolled out so we can notify the
1268 // user.
1269 const char kAcknowledgedSyncTypes[] = "sync.acknowledged_types";
1270
1266 // A string that can be used to restore sync encryption infrastructure on 1271 // A string that can be used to restore sync encryption infrastructure on
1267 // startup so that the user doesn't need to provide credentials on each start. 1272 // startup so that the user doesn't need to provide credentials on each start.
1268 const char kEncryptionBootstrapToken[] = "sync.encryption_bootstrap_token"; 1273 const char kEncryptionBootstrapToken[] = "sync.encryption_bootstrap_token";
1269 1274
1270 // Boolean tracking whether the user chose to specify a secondary encryption 1275 // Boolean tracking whether the user chose to specify a secondary encryption
1271 // passphrase. 1276 // passphrase.
1272 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; 1277 const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase";
1273 1278
1274 // String that identifies the user logged into sync and other google services. 1279 // String that identifies the user logged into sync and other google services.
1275 const char kGoogleServicesUsername[] = "google.services.username"; 1280 const char kGoogleServicesUsername[] = "google.services.username";
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 // Whether user-specified handlers for protocols and content types can be 1448 // Whether user-specified handlers for protocols and content types can be
1444 // specified. 1449 // specified.
1445 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1450 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1446 1451
1447 // Integers that specify the policy refresh rate for device- and user-policy in 1452 // Integers that specify the policy refresh rate for device- and user-policy in
1448 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1453 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1449 // by the cloud policy subsystem. 1454 // by the cloud policy subsystem.
1450 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1455 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1451 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1456 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1452 } // namespace prefs 1457 } // namespace prefs
OLDNEW
« chrome/browser/sync/syncable/model_type.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698