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