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

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

Issue 2714853002: Remove kDistroDict from Preferences. (Closed)
Patch Set: Format and hide constant behind flag too Created 3 years, 10 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/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // Stores settings that can be modified both by a supervised user and their 182 // Stores settings that can be modified both by a supervised user and their
183 // manager. See SupervisedUserSharedSettingsService for a description of 183 // manager. See SupervisedUserSharedSettingsService for a description of
184 // the format. 184 // the format.
185 const char kSupervisedUserSharedSettings[] = "profile.managed.shared_settings"; 185 const char kSupervisedUserSharedSettings[] = "profile.managed.shared_settings";
186 186
187 // A dictionary storing whitelists for a supervised user. The key is the CRX ID 187 // A dictionary storing whitelists for a supervised user. The key is the CRX ID
188 // of the whitelist, the value a dictionary containing whitelist properties 188 // of the whitelist, the value a dictionary containing whitelist properties
189 // (currently the name). 189 // (currently the name).
190 const char kSupervisedUserWhitelists[] = "profile.managed.whitelists"; 190 const char kSupervisedUserWhitelists[] = "profile.managed.whitelists";
191 191
192 #if BUILDFLAG(ENABLE_RLZ)
193 // Integer. RLZ ping delay in seconds.
grt (UTC plus 2) 2017/02/24 07:42:21 i think it's actually milliseconds -- see chrome_b
Roger Tawa OOO till Jul 10th 2017/02/24 16:02:18 As mentioned already earlier, let's keep the secon
gab 2017/02/28 19:54:45 Acknowledged.
194 const char kRlzPingDelay[] = "rlz_ping_delay";
195 #endif // BUILDFLAG(ENABLE_RLZ)
196
192 // The application locale. 197 // The application locale.
193 // For OS_CHROMEOS we maintain the kApplicationLocale property in both local 198 // For OS_CHROMEOS we maintain the kApplicationLocale property in both local
194 // state and the user's profile. The global property determines the locale of 199 // state and the user's profile. The global property determines the locale of
195 // the login screen, while the user's profile determines their personal locale 200 // the login screen, while the user's profile determines their personal locale
196 // preference. 201 // preference.
197 const char kApplicationLocale[] = "intl.app_locale"; 202 const char kApplicationLocale[] = "intl.app_locale";
198 #if defined(OS_CHROMEOS) 203 #if defined(OS_CHROMEOS)
199 // Locale preference of device' owner. ChromeOS device appears in this locale 204 // Locale preference of device' owner. ChromeOS device appears in this locale
200 // after startup/wakeup/signout. 205 // after startup/wakeup/signout.
201 const char kOwnerLocale[] = "intl.owner_locale"; 206 const char kOwnerLocale[] = "intl.owner_locale";
(...skipping 2273 matching lines...) Expand 10 before | Expand all | Expand 10 after
2475 2480
2476 // Number of times user has seen the "desktop to iOS" history page promotion. 2481 // Number of times user has seen the "desktop to iOS" history page promotion.
2477 const char kNumberHistoryPageIOSPromoShown[] = 2482 const char kNumberHistoryPageIOSPromoShown[] =
2478 "history_page_ios_promo_shown_count"; 2483 "history_page_ios_promo_shown_count";
2479 2484
2480 // True if the user has dismissed the "desktop to iOS" history page promotion. 2485 // True if the user has dismissed the "desktop to iOS" history page promotion.
2481 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; 2486 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed";
2482 #endif 2487 #endif
2483 2488
2484 } // namespace prefs 2489 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698