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

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

Issue 2870203003: Make Hands-Off Zero-Touch Enrollment compatibile with tests (Closed)
Patch Set: Make Hands-Off Zero-Touch Enrollment compatibile with tests Created 3 years, 7 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
« chrome/common/pref_names.h ('K') | « 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) 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 1900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1911 // A boolean pref to indicate if an eligible controller (either a Chrome OS 1911 // A boolean pref to indicate if an eligible controller (either a Chrome OS
1912 // device, or an Android device) is detected during bootstrapping or 1912 // device, or an Android device) is detected during bootstrapping or
1913 // shark/remora setup process. A controller can help the device go through OOBE 1913 // shark/remora setup process. A controller can help the device go through OOBE
1914 // and get enrolled into a domain automatically. 1914 // and get enrolled into a domain automatically.
1915 const char kOobeControllerDetected[] = "OobeControllerDetected"; 1915 const char kOobeControllerDetected[] = "OobeControllerDetected";
1916 1916
1917 // A boolean pref for whether the Goodies promotion webpage has been displayed, 1917 // A boolean pref for whether the Goodies promotion webpage has been displayed,
1918 // or otherwise disqualified for auto-display, on this device. 1918 // or otherwise disqualified for auto-display, on this device.
1919 const char kCanShowOobeGoodiesPage[] = "CanShowOobeGoodiesPage"; 1919 const char kCanShowOobeGoodiesPage[] = "CanShowOobeGoodiesPage";
1920 1920
1921 const char kTimeOfLastUpdateCheckWithoutUpdate[] =
xiyuan 2017/05/10 16:29:20 nit: Document the purpose of this pref similar to
kumarniranjan 2017/05/13 04:42:36 Done.
1922 "TimeOfLastUpdateCheckWithoutUpdate";
1923
1921 // A boolean pref of the device registered flag (second part after first login). 1924 // A boolean pref of the device registered flag (second part after first login).
1922 const char kDeviceRegistered[] = "DeviceRegistered"; 1925 const char kDeviceRegistered[] = "DeviceRegistered";
1923 1926
1924 // Boolean pref to signal corrupted enrollment to force the device through 1927 // Boolean pref to signal corrupted enrollment to force the device through
1925 // enrollment recovery flow upon next boot. 1928 // enrollment recovery flow upon next boot.
1926 const char kEnrollmentRecoveryRequired[] = "EnrollmentRecoveryRequired"; 1929 const char kEnrollmentRecoveryRequired[] = "EnrollmentRecoveryRequired";
1927 1930
1928 // List of usernames that used certificates pushed by policy before. 1931 // List of usernames that used certificates pushed by policy before.
1929 // This is used to prevent these users from joining multiprofile sessions. 1932 // This is used to prevent these users from joining multiprofile sessions.
1930 const char kUsedPolicyCertificates[] = "policy.used_policy_certificates"; 1933 const char kUsedPolicyCertificates[] = "policy.used_policy_certificates";
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
2538 "settings_reset_prompt.last_triggered_for_homepage"; 2541 "settings_reset_prompt.last_triggered_for_homepage";
2539 2542
2540 #if defined(OS_ANDROID) 2543 #if defined(OS_ANDROID)
2541 // Timestamp of the clipboard's last modified time, stored in base::Time's 2544 // Timestamp of the clipboard's last modified time, stored in base::Time's
2542 // internal format (int64) in local store. (I.e., this is not a per-profile 2545 // internal format (int64) in local store. (I.e., this is not a per-profile
2543 // pref.) 2546 // pref.)
2544 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; 2547 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time";
2545 #endif 2548 #endif
2546 2549
2547 } // namespace prefs 2550 } // namespace prefs
OLDNEW
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698