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

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

Issue 2060623002: Implementation of Device End of Life Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify browsertest Created 4 years, 6 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/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 // Whether the Chrome OS lock screen is allowed. 865 // Whether the Chrome OS lock screen is allowed.
866 const char kAllowScreenLock[] = "allow_screen_lock"; 866 const char kAllowScreenLock[] = "allow_screen_lock";
867 867
868 // An int64 pref. This is a timestamp of the most recent time the profile took 868 // An int64 pref. This is a timestamp of the most recent time the profile took
869 // or dismissed HaTS (happiness-tracking) survey. 869 // or dismissed HaTS (happiness-tracking) survey.
870 const char kHatsLastInteractionTimestamp[] = "hats_last_interaction_timestamp"; 870 const char kHatsLastInteractionTimestamp[] = "hats_last_interaction_timestamp";
871 871
872 // The salt and hash for the pin quick unlock mechanism. 872 // The salt and hash for the pin quick unlock mechanism.
873 const char kQuickUnlockPinSalt[] = "quick_unlock.pin.salt"; 873 const char kQuickUnlockPinSalt[] = "quick_unlock.pin.salt";
874 const char kQuickUnlockPinSecret[] = "quick_unlock.pin.secret"; 874 const char kQuickUnlockPinSecret[] = "quick_unlock.pin.secret";
875
876 // An integer pref. Holds one of several values:
877 // 0: Supported. Device is in supported state.
878 // 1: Security Only. Device is in Security-Only update (after initial 5 years).
879 // 2: EOL. Device is End of Life(No more updates expected).
xiyuan 2016/06/16 22:41:28 Also mention it needs to be consistent with EndOfL
xiaoyinh(OOO Sep 11-29) 2016/06/17 04:07:35 Done.
880 const char kEolStatus[] = "Eol_status";
xiyuan 2016/06/16 22:41:28 Eol_status -> eol_status to be consistent with oth
xiaoyinh(OOO Sep 11-29) 2016/06/17 04:07:35 Done.
881
882 // Boolean pref indicating the End Of Life notification was dismissed by the
883 // user.
884 const char kEolNotificationDismissed[] = "Eol_Notification_dismissed";
xiyuan 2016/06/16 22:41:28 Eol_Notification_dismissed -> eol_notification_dis
xiaoyinh(OOO Sep 11-29) 2016/06/17 04:07:35 Done.
875 #endif // defined(OS_CHROMEOS) 885 #endif // defined(OS_CHROMEOS)
876 886
877 // A boolean pref set to true if a Home button to open the Home pages should be 887 // A boolean pref set to true if a Home button to open the Home pages should be
878 // visible on the toolbar. 888 // visible on the toolbar.
879 const char kShowHomeButton[] = "browser.show_home_button"; 889 const char kShowHomeButton[] = "browser.show_home_button";
880 890
881 // A string value which saves short list of recently user selected encodings 891 // A string value which saves short list of recently user selected encodings
882 // separated with comma punctuation mark. 892 // separated with comma punctuation mark.
883 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings"; 893 const char kRecentlySelectedEncoding[] = "profile.recently_selected_encodings";
884 894
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after
2220 const char kMediaRouterEnableCloudServices[] = 2230 const char kMediaRouterEnableCloudServices[] =
2221 "media_router.cloudservices.enabled"; 2231 "media_router.cloudservices.enabled";
2222 #endif // defined(GOOGLE_CHROME_BUILD) 2232 #endif // defined(GOOGLE_CHROME_BUILD)
2223 // Whether or not the Media Router first run flow has been acknowledged by the 2233 // Whether or not the Media Router first run flow has been acknowledged by the
2224 // user. 2234 // user.
2225 const char kMediaRouterFirstRunFlowAcknowledged[] = 2235 const char kMediaRouterFirstRunFlowAcknowledged[] =
2226 "media_router.firstrunflow.acknowledged"; 2236 "media_router.firstrunflow.acknowledged";
2227 #endif 2237 #endif
2228 2238
2229 } // namespace prefs 2239 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698