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 1706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1717 | 1717 |
1718 // Boolean that specifies if the sync promo is allowed to show on first run. | 1718 // Boolean that specifies if the sync promo is allowed to show on first run. |
1719 // This preference is specified in the master preference file to suppress the | 1719 // This preference is specified in the master preference file to suppress the |
1720 // sync promo for some installations. | 1720 // sync promo for some installations. |
1721 const char kSyncPromoShowOnFirstRunAllowed[] = | 1721 const char kSyncPromoShowOnFirstRunAllowed[] = |
1722 "sync_promo.show_on_first_run_allowed"; | 1722 "sync_promo.show_on_first_run_allowed"; |
1723 | 1723 |
1724 // Boolean that specifies if we should show a bubble in the new tab page. | 1724 // Boolean that specifies if we should show a bubble in the new tab page. |
1725 // The bubble is used to confirm that the user is signed into sync. | 1725 // The bubble is used to confirm that the user is signed into sync. |
1726 const char kSyncPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; | 1726 const char kSyncPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; |
| 1727 |
| 1728 // An error to show in the sync promo bubble, if needed. If the sign in was |
| 1729 // successful, this property holds an empty string. |
| 1730 const char kSyncPromoErrorMessage[] = "sync_promo.error_message"; |
1727 #endif | 1731 #endif |
1728 | 1732 |
1729 // Time when the user's GAIA info was last updated (represented as an int64). | 1733 // Time when the user's GAIA info was last updated (represented as an int64). |
1730 const char kProfileGAIAInfoUpdateTime[] = "profile.gaia_info_update_time"; | 1734 const char kProfileGAIAInfoUpdateTime[] = "profile.gaia_info_update_time"; |
1731 | 1735 |
1732 // The URL from which the GAIA profile picture was downloaded. This is cached to | 1736 // The URL from which the GAIA profile picture was downloaded. This is cached to |
1733 // prevent the same picture from being downloaded multiple times. | 1737 // prevent the same picture from being downloaded multiple times. |
1734 const char kProfileGAIAInfoPictureURL[] = "profile.gaia_info_picture_url"; | 1738 const char kProfileGAIAInfoPictureURL[] = "profile.gaia_info_picture_url"; |
1735 | 1739 |
1736 // Create web application shortcut dialog preferences. | 1740 // Create web application shortcut dialog preferences. |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2152 // Tracks the time of the last shown warning. Used to reset | 2156 // Tracks the time of the last shown warning. Used to reset |
2153 // |network_profile.warnings_left| after a silence period. | 2157 // |network_profile.warnings_left| after a silence period. |
2154 const char kNetworkProfileLastWarningTime[] = | 2158 const char kNetworkProfileLastWarningTime[] = |
2155 "network_profile.last_warning_time"; | 2159 "network_profile.last_warning_time"; |
2156 | 2160 |
2157 // 64-bit serialization of the time last policy usage statistics were collected | 2161 // 64-bit serialization of the time last policy usage statistics were collected |
2158 // by UMA_HISTOGRAM_ENUMERATION. | 2162 // by UMA_HISTOGRAM_ENUMERATION. |
2159 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; | 2163 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; |
2160 | 2164 |
2161 } // namespace prefs | 2165 } // namespace prefs |
OLD | NEW |