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

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: Add command line flags to histograms.xml 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chromeos/chromeos_switches.h » ('j') | 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 #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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 const char kEnableAutoScreenLock[] = "settings.enable_screen_lock"; 608 const char kEnableAutoScreenLock[] = "settings.enable_screen_lock";
609 609
610 // A boolean pref of whether to show mobile plan notifications. 610 // A boolean pref of whether to show mobile plan notifications.
611 const char kShowPlanNotifications[] = 611 const char kShowPlanNotifications[] =
612 "settings.internet.mobile.show_plan_notifications"; 612 "settings.internet.mobile.show_plan_notifications";
613 613
614 // A boolean pref of whether to show 3G promo notification. 614 // A boolean pref of whether to show 3G promo notification.
615 const char kShow3gPromoNotification[] = 615 const char kShow3gPromoNotification[] =
616 "settings.internet.mobile.show_3g_promo_notification"; 616 "settings.internet.mobile.show_3g_promo_notification";
617 617
618 // An integer pref counting times Data Saver prompt has been shown.
619 const char kDataSaverPromptsShown[] =
620 "settings.internet.mobile.datasaver_prompts_shown";
621
618 // A string pref that contains version where "What's new" promo was shown. 622 // A string pref that contains version where "What's new" promo was shown.
619 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version"; 623 const char kChromeOSReleaseNotesVersion[] = "settings.release_notes.version";
620 624
621 // A boolean pref that controls whether proxy settings from shared network 625 // A boolean pref that controls whether proxy settings from shared network
622 // settings (accordingly from device policy) are applied or ignored. 626 // settings (accordingly from device policy) are applied or ignored.
623 const char kUseSharedProxies[] = "settings.use_shared_proxies"; 627 const char kUseSharedProxies[] = "settings.use_shared_proxies";
624 628
625 // Power state of the current displays from the last run. 629 // Power state of the current displays from the last run.
626 const char kDisplayPowerState[] = "settings.display.power_state"; 630 const char kDisplayPowerState[] = "settings.display.power_state";
627 // A dictionary pref that stores per display preferences. 631 // A dictionary pref that stores per display preferences.
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after
2272 // (name and a list of clients that registered the whitelist). 2276 // (name and a list of clients that registered the whitelist).
2273 const char kRegisteredSupervisedUserWhitelists[] = 2277 const char kRegisteredSupervisedUserWhitelists[] =
2274 "supervised_users.whitelists"; 2278 "supervised_users.whitelists";
2275 2279
2276 #if defined(ENABLE_EXTENSIONS) 2280 #if defined(ENABLE_EXTENSIONS)
2277 // Policy that indicates how to handle animated images. 2281 // Policy that indicates how to handle animated images.
2278 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2282 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2279 #endif 2283 #endif
2280 2284
2281 } // namespace prefs 2285 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698