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

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

Issue 7566026: Sync Promo: Remember promo expanded state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments 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
« no previous file with comments | « chrome/common/pref_names.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) 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 22 matching lines...) Expand all
33 // 2: this was used to indicate a specific session should be restored. It is 33 // 2: this was used to indicate a specific session should be restored. It is
34 // no longer used, but saved to avoid conflict with old preferences. 34 // no longer used, but saved to avoid conflict with old preferences.
35 // 3: unused, previously indicated the user wants to restore a saved session. 35 // 3: unused, previously indicated the user wants to restore a saved session.
36 // 4: restore the URLs defined in kURLsToRestoreOnStartup. 36 // 4: restore the URLs defined in kURLsToRestoreOnStartup.
37 const char kRestoreOnStartup[] = "session.restore_on_startup"; 37 const char kRestoreOnStartup[] = "session.restore_on_startup";
38 38
39 // The URLs to restore on startup or when the home button is pressed. The URLs 39 // The URLs to restore on startup or when the home button is pressed. The URLs
40 // are only restored on startup if kRestoreOnStartup is 4. 40 // are only restored on startup if kRestoreOnStartup is 4.
41 const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup"; 41 const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup";
42 42
43 // A bool pref to used to determine if the sync promo should be expanded or
44 // collapsed.
45 const char kSyncPromoExpanded[] = "profile.sync_promo_expanded";
46
43 // The application locale. 47 // The application locale.
44 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state 48 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
45 // and user's profile. Global property determines locale of login screen, 49 // and user's profile. Global property determines locale of login screen,
46 // while user's profile determines his personal locale preference. 50 // while user's profile determines his personal locale preference.
47 const char kApplicationLocale[] = "intl.app_locale"; 51 const char kApplicationLocale[] = "intl.app_locale";
48 #if defined(OS_CHROMEOS) 52 #if defined(OS_CHROMEOS)
49 // Locale preference of device' owner. ChromeOS device appears in this locale 53 // Locale preference of device' owner. ChromeOS device appears in this locale
50 // after startup/wakeup/signout. 54 // after startup/wakeup/signout.
51 const char kOwnerLocale[] = "intl.owner_locale"; 55 const char kOwnerLocale[] = "intl.owner_locale";
52 // Locale accepted by user. Non-syncable. 56 // Locale accepted by user. Non-syncable.
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 // Whether user-specified handlers for protocols and content types can be 1447 // Whether user-specified handlers for protocols and content types can be
1444 // specified. 1448 // specified.
1445 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1449 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1446 1450
1447 // Integers that specify the policy refresh rate for device- and user-policy in 1451 // 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 1452 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1449 // by the cloud policy subsystem. 1453 // by the cloud policy subsystem.
1450 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1454 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1451 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1455 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1452 } // namespace prefs 1456 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698