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

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

Issue 1022333002: Initial CL for Data Saver (Flywheel) prompt when cellular network detected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review, remove hotkey Created 5 years, 8 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 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 const char kEnableAutoScreenLock[] = "settings.enable_screen_lock"; 603 const char kEnableAutoScreenLock[] = "settings.enable_screen_lock";
604 604
605 // A boolean pref of whether to show mobile plan notifications. 605 // A boolean pref of whether to show mobile plan notifications.
606 const char kShowPlanNotifications[] = 606 const char kShowPlanNotifications[] =
607 "settings.internet.mobile.show_plan_notifications"; 607 "settings.internet.mobile.show_plan_notifications";
608 608
609 // A boolean pref of whether to show 3G promo notification. 609 // A boolean pref of whether to show 3G promo notification.
610 const char kShow3gPromoNotification[] = 610 const char kShow3gPromoNotification[] =
611 "settings.internet.mobile.show_3g_promo_notification"; 611 "settings.internet.mobile.show_3g_promo_notification";
612 612
613 // An integer pref counting times Data Saver prompt has been shown.
614 const char kDataSaverPromptsShown[] =
615 "settings.internet.mobile.datasaver_prompts_shown";
616
613 // A string pref that contains version where "What's new" promo was shown. 617 // A string pref that contains version where "What's new" promo was shown.
614 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version"; 618 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version";
615 619
616 // A boolean pref that controls whether proxy settings from shared network 620 // A boolean pref that controls whether proxy settings from shared network
617 // settings (accordingly from device policy) are applied or ignored. 621 // settings (accordingly from device policy) are applied or ignored.
618 const char kUseSharedProxies[] = "settings.use_shared_proxies"; 622 const char kUseSharedProxies[] = "settings.use_shared_proxies";
619 623
620 // Power state of the current displays from the last run. 624 // Power state of the current displays from the last run.
621 const char kDisplayPowerState[] = "settings.display.power_state"; 625 const char kDisplayPowerState[] = "settings.display.power_state";
622 // A dictionary pref that stores per display preferences. 626 // A dictionary pref that stores per display preferences.
(...skipping 1648 matching lines...) Expand 10 before | Expand all | Expand 10 after
2271 // (name and a list of clients that registered the whitelist). 2275 // (name and a list of clients that registered the whitelist).
2272 const char kRegisteredSupervisedUserWhitelists[] = 2276 const char kRegisteredSupervisedUserWhitelists[] =
2273 "supervised_users.whitelists"; 2277 "supervised_users.whitelists";
2274 2278
2275 #if defined(ENABLE_EXTENSIONS) 2279 #if defined(ENABLE_EXTENSIONS)
2276 // Policy that indicates how to handle animated images. 2280 // Policy that indicates how to handle animated images.
2277 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2281 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2278 #endif 2282 #endif
2279 2283
2280 } // namespace prefs 2284 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698