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

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

Issue 8958001: Fix mistakenly non-const variable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 const char kWebKitSerifFontFamilyMap[] = 125 const char kWebKitSerifFontFamilyMap[] =
126 "webkit.webprefs.fonts.serif"; 126 "webkit.webprefs.fonts.serif";
127 const char kWebKitSansSerifFontFamilyMap[] = 127 const char kWebKitSansSerifFontFamilyMap[] =
128 "webkit.webprefs.fonts.sansserif"; 128 "webkit.webprefs.fonts.sansserif";
129 const char kWebKitCursiveFontFamilyMap[] = 129 const char kWebKitCursiveFontFamilyMap[] =
130 "webkit.webprefs.fonts.cursive"; 130 "webkit.webprefs.fonts.cursive";
131 const char kWebKitFantasyFontFamilyMap[] = 131 const char kWebKitFantasyFontFamilyMap[] =
132 "webkit.webprefs.fonts.fantasy"; 132 "webkit.webprefs.fonts.fantasy";
133 133
134 // TODO(falken): Add all the scripts we should support. 134 // TODO(falken): Add all the scripts we should support.
135 const char* kWebKitScriptsForFontFamilyMaps[] = 135 const char* const kWebKitScriptsForFontFamilyMaps[] =
136 { "Arab", "Hang", "Hans", "Hant", "Hrkt" }; 136 { "Arab", "Hang", "Hans", "Hant", "Hrkt" };
137 const size_t kWebKitScriptsForFontFamilyMapsLength = 137 const size_t kWebKitScriptsForFontFamilyMapsLength =
138 arraysize(kWebKitScriptsForFontFamilyMaps); 138 arraysize(kWebKitScriptsForFontFamilyMaps);
139 139
140 const char kWebKitStandardFontFamilyArabic[] = 140 const char kWebKitStandardFontFamilyArabic[] =
141 "webkit.webprefs.fonts.standard.Arab"; 141 "webkit.webprefs.fonts.standard.Arab";
142 const char kWebKitFixedFontFamilyArabic[] = 142 const char kWebKitFixedFontFamilyArabic[] =
143 "webkit.webprefs.fonts.fixed.Arab"; 143 "webkit.webprefs.fonts.fixed.Arab";
144 const char kWebKitSerifFontFamilyArabic[] = 144 const char kWebKitSerifFontFamilyArabic[] =
145 "webkit.webprefs.fonts.serif.Arab"; 145 "webkit.webprefs.fonts.serif.Arab";
(...skipping 1538 matching lines...) Expand 10 before | Expand all | Expand 10 after
1684 1684
1685 // String that represents the recovery component last downloaded version. This 1685 // String that represents the recovery component last downloaded version. This
1686 // takes the usual 'a.b.c.d' notation. 1686 // takes the usual 'a.b.c.d' notation.
1687 const char kRecoveryComponentVersion[] = "recovery_component.version"; 1687 const char kRecoveryComponentVersion[] = "recovery_component.version";
1688 1688
1689 // String that stores the component updater last known state. This is used for 1689 // String that stores the component updater last known state. This is used for
1690 // troubleshooting. 1690 // troubleshooting.
1691 const char kComponentUpdaterState[] = "component_updater.state"; 1691 const char kComponentUpdaterState[] = "component_updater.state";
1692 1692
1693 } // namespace prefs 1693 } // 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