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

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

Issue 10827102: Delete dead AppsPromo code (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 8 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) 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
11 // *************** PROFILE PREFS *************** 11 // *************** PROFILE PREFS ***************
12 // These are attached to the user profile 12 // These are attached to the user profile
13 13
14 // A counter that controls whether the apps promo is shown in the app launcher
15 // or not.
16 const char kAppsPromoCounter[] = "apps_promo_counter";
17
18 // A string property indicating whether default apps should be installed 14 // A string property indicating whether default apps should be installed
19 // in this profile. Use the value "install" to enable defaults apps, or 15 // in this profile. Use the value "install" to enable defaults apps, or
20 // "noinstall" to disable them. This property is usually set in the 16 // "noinstall" to disable them. This property is usually set in the
21 // master_preferences and copied into the profile preferences on first run. 17 // master_preferences and copied into the profile preferences on first run.
22 // Defaults apps are installed only when creating a new profile. 18 // Defaults apps are installed only when creating a new profile.
23 const char kDefaultApps[] = "default_apps"; 19 const char kDefaultApps[] = "default_apps";
24 20
25 // Whether we have installed default apps yet in this profile. 21 // Whether we have installed default apps yet in this profile.
26 const char kDefaultAppsInstalled[] = "default_apps_installed"; 22 const char kDefaultAppsInstalled[] = "default_apps_installed";
27 23
(...skipping 1532 matching lines...) Expand 10 before | Expand all | Expand 10 after
1560 1556
1561 // The "hide this" link text for the NTP web store promo. 1557 // The "hide this" link text for the NTP web store promo.
1562 const char kNtpWebStorePromoExpire[] = "ntp.webstorepromo.expire"; 1558 const char kNtpWebStorePromoExpire[] = "ntp.webstorepromo.expire";
1563 1559
1564 // Specifies what users should maximize the NTP web store promo. 1560 // Specifies what users should maximize the NTP web store promo.
1565 const char kNtpWebStorePromoUserGroup[] = "ntp.webstorepromo.usergroup"; 1561 const char kNtpWebStorePromoUserGroup[] = "ntp.webstorepromo.usergroup";
1566 1562
1567 // Customized app page names that appear on the New Tab Page. 1563 // Customized app page names that appear on the New Tab Page.
1568 const char kNtpAppPageNames[] = "ntp.app_page_names"; 1564 const char kNtpAppPageNames[] = "ntp.app_page_names";
1569 1565
1570 // When true, web store promos will never be shown.
1571 const char kNtpHideWebStorePromo[] = "ntp.hide_webstore_promo";
1572
1573 const char kDevToolsDisabled[] = "devtools.disabled"; 1566 const char kDevToolsDisabled[] = "devtools.disabled";
1574 1567
1575 // A boolean specifying whether dev tools window should be opened docked. 1568 // A boolean specifying whether dev tools window should be opened docked.
1576 const char kDevToolsOpenDocked[] = "devtools.open_docked"; 1569 const char kDevToolsOpenDocked[] = "devtools.open_docked";
1577 1570
1578 // A string specifying the dock location (either 'bottom' or 'right'). 1571 // A string specifying the dock location (either 'bottom' or 'right').
1579 const char kDevToolsDockSide[] = "devtools.dock_side"; 1572 const char kDevToolsDockSide[] = "devtools.dock_side";
1580 1573
1581 // Integer location of the horizontal split bar in the browser view. 1574 // Integer location of the horizontal split bar in the browser view.
1582 const char kDevToolsHSplitLocation[] = "devtools.split_location"; 1575 const char kDevToolsHSplitLocation[] = "devtools.split_location";
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
2025 const char kNetworkProfileLastWarningTime[] = 2018 const char kNetworkProfileLastWarningTime[] =
2026 "network_profile.last_warning_time"; 2019 "network_profile.last_warning_time";
2027 2020
2028 #if defined(OS_MACOSX) 2021 #if defined(OS_MACOSX)
2029 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. 2022 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5.
2030 const char kMacLeopardObsoleteInfobarLastShown[] = 2023 const char kMacLeopardObsoleteInfobarLastShown[] =
2031 "mac_105_obsolete_infobar_last_shown"; 2024 "mac_105_obsolete_infobar_last_shown";
2032 #endif // defined(OS_MACOSX) 2025 #endif // defined(OS_MACOSX)
2033 2026
2034 } // namespace prefs 2027 } // 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