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

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

Issue 10808006: Move printing.* prefs from local state to profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased just in case as the CL is a few days old now plus I got my branches all mixed up a bit. Created 8 years, 5 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
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 #endif 1013 #endif
1014 1014
1015 // Profile avatar and name 1015 // Profile avatar and name
1016 const char kProfileAvatarIndex[] = "profile.avatar_index"; 1016 const char kProfileAvatarIndex[] = "profile.avatar_index";
1017 const char kProfileName[] = "profile.name"; 1017 const char kProfileName[] = "profile.name";
1018 1018
1019 // Indicates if we've already shown a notification that high contrast 1019 // Indicates if we've already shown a notification that high contrast
1020 // mode is on, recommending high-contrast extensions and themes. 1020 // mode is on, recommending high-contrast extensions and themes.
1021 const char kInvertNotificationShown[] = "invert_notification_version_2_shown"; 1021 const char kInvertNotificationShown[] = "invert_notification_version_2_shown";
1022 1022
1023 // Boolean controlling whether printing is enabled.
1024 const char kPrintingEnabled[] = "printing.enabled";
1025
1026 // Boolean controlling whether print preview is disabled.
1027 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled";
1028
1023 // *************** LOCAL STATE *************** 1029 // *************** LOCAL STATE ***************
1024 // These are attached to the machine/installation 1030 // These are attached to the machine/installation
1025 1031
1026 // Directory of the last profile used. 1032 // Directory of the last profile used.
1027 const char kProfileLastUsed[] = "profile.last_used"; 1033 const char kProfileLastUsed[] = "profile.last_used";
1028 1034
1029 // List of directories of the profiles last active. 1035 // List of directories of the profiles last active.
1030 const char kProfilesLastActive[] = "profile.last_active_profiles"; 1036 const char kProfilesLastActive[] = "profile.last_active_profiles";
1031 1037
1032 // Total number of profiles created for this Chrome build. Used to tag profile 1038 // Total number of profiles created for this Chrome build. Used to tag profile
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
1672 1678
1673 // Dictionary that maps Geolocation network provider server URLs to 1679 // Dictionary that maps Geolocation network provider server URLs to
1674 // corresponding access token. 1680 // corresponding access token.
1675 const char kGeolocationAccessToken[] = "geolocation.access_token"; 1681 const char kGeolocationAccessToken[] = "geolocation.access_token";
1676 1682
1677 // Boolean that indicates whether to allow firewall traversal while trying to 1683 // Boolean that indicates whether to allow firewall traversal while trying to
1678 // establish the initial connection from the client or host. 1684 // establish the initial connection from the client or host.
1679 const char kRemoteAccessHostFirewallTraversal[] = 1685 const char kRemoteAccessHostFirewallTraversal[] =
1680 "remote_access.host_firewall_traversal"; 1686 "remote_access.host_firewall_traversal";
1681 1687
1682 // Boolean controlling whether printing is enabled.
1683 const char kPrintingEnabled[] = "printing.enabled";
1684
1685 // Boolean controlling whether print preview is disabled.
1686 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled";
1687 1688
1688 // The last used printer and its settings. 1689 // The last used printer and its settings.
1689 const char kPrintPreviewStickySettings[] = 1690 const char kPrintPreviewStickySettings[] =
1690 "printing.print_preview_sticky_settings"; 1691 "printing.print_preview_sticky_settings";
1691
1692 // The root URL of the cloud print service. 1692 // The root URL of the cloud print service.
1693 const char kCloudPrintServiceURL[] = "cloud_print.service_url"; 1693 const char kCloudPrintServiceURL[] = "cloud_print.service_url";
1694 1694
1695 // The URL to use to sign in to cloud print. 1695 // The URL to use to sign in to cloud print.
1696 const char kCloudPrintSigninURL[] = "cloud_print.signin_url"; 1696 const char kCloudPrintSigninURL[] = "cloud_print.signin_url";
1697 1697
1698 // The last requested size of the dialog as it was closed. 1698 // The last requested size of the dialog as it was closed.
1699 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; 1699 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width";
1700 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; 1700 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height";
1701 const char kCloudPrintSigninDialogWidth[] = 1701 const char kCloudPrintSigninDialogWidth[] =
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1991 const char kNetworkProfileLastWarningTime[] = 1991 const char kNetworkProfileLastWarningTime[] =
1992 "network_profile.last_warning_time"; 1992 "network_profile.last_warning_time";
1993 1993
1994 #if defined(OS_MACOSX) 1994 #if defined(OS_MACOSX)
1995 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. 1995 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5.
1996 const char kMacLeopardObsoleteInfobarLastShown[] = 1996 const char kMacLeopardObsoleteInfobarLastShown[] =
1997 "mac_105_obsolete_infobar_last_shown"; 1997 "mac_105_obsolete_infobar_last_shown";
1998 #endif // defined(OS_MACOSX) 1998 #endif // defined(OS_MACOSX)
1999 1999
2000 } // namespace prefs 2000 } // 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