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

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

Issue 10417032: Disable sync promo when RestoreOnStartupURLs policy is used (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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
OLDNEW
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 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 const char kSyncPromoStartupCount[] = "sync_promo.startup_count"; 1566 const char kSyncPromoStartupCount[] = "sync_promo.startup_count";
1567 1567
1568 // A counter to remember the number of times we've been to the sync promo page 1568 // A counter to remember the number of times we've been to the sync promo page
1569 // (not at startup). 1569 // (not at startup).
1570 const char kSyncPromoViewCount[] = "sync_promo.view_count"; 1570 const char kSyncPromoViewCount[] = "sync_promo.view_count";
1571 1571
1572 // Boolean tracking whether the user chose to skip the sync promo. 1572 // Boolean tracking whether the user chose to skip the sync promo.
1573 const char kSyncPromoUserSkipped[] = "sync_promo.user_skipped"; 1573 const char kSyncPromoUserSkipped[] = "sync_promo.user_skipped";
1574 1574
1575 // Boolean that specifies if the sync promo is allowed to show on first run. 1575 // Boolean that specifies if the sync promo is allowed to show on first run.
1576 // This preference is specified in the master preference file to suppress the 1576 // This can be used to suppress the sync promo. The pref will automatically be
1577 // sync promo for some installations. 1577 // set to false when the RestoreOnStartupURLs policy is set.
1578 const char kSyncPromoShowOnFirstRunAllowed[] = 1578 const char kSyncPromoShowOnFirstRunAllowed[] =
1579 "sync_promo.show_on_first_run_allowed"; 1579 "sync_promo.show_on_first_run_allowed";
1580 1580
1581 // Boolean that specifies if we should show a bubble in the new tab page. 1581 // Boolean that specifies if we should show a bubble in the new tab page.
1582 // The bubble is used to confirm that the user is signed into sync. 1582 // The bubble is used to confirm that the user is signed into sync.
1583 const char kSyncPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; 1583 const char kSyncPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble";
1584 #endif 1584 #endif
1585 1585
1586 // Time when the user's GAIA info was last updated (represented as an int64). 1586 // Time when the user's GAIA info was last updated (represented as an int64).
1587 const char kProfileGAIAInfoUpdateTime[] = "profile.gaia_info_update_time"; 1587 const char kProfileGAIAInfoUpdateTime[] = "profile.gaia_info_update_time";
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1881 const char kInManagedMode[] = "managed_mode"; 1881 const char kInManagedMode[] = "managed_mode";
1882 1882
1883 // Counts how many more times the 'profile on a network share' warning should be 1883 // Counts how many more times the 'profile on a network share' warning should be
1884 // shown to the user before the next silence period. 1884 // shown to the user before the next silence period.
1885 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 1885 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
1886 // Tracks the time of the last shown warning. Used to reset 1886 // Tracks the time of the last shown warning. Used to reset
1887 // |network_profile.warnings_left| after a silence period. 1887 // |network_profile.warnings_left| after a silence period.
1888 const char kNetworkProfileLastWarningTime[] = 1888 const char kNetworkProfileLastWarningTime[] =
1889 "network_profile.last_warning_time"; 1889 "network_profile.last_warning_time";
1890 } // namespace prefs 1890 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698