Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 |
| 11 namespace prefs { | 11 namespace prefs { |
| 12 | 12 |
| 13 // *************** PROFILE PREFS *************** | 13 // *************** PROFILE PREFS *************** |
| 14 // These are attached to the user profile | 14 // These are attached to the user profile |
| 15 | 15 |
| 16 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) | 16 #if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST) |
| 17 // A preference to keep list of Android apps and their state. | 17 // A preference to keep list of Android apps and their state. |
| 18 const char kArcApps[] = "arc.apps"; | 18 const char kArcApps[] = "arc.apps"; |
| 19 // A preference to store backup and restore state for Android apps. | 19 // A preference to store backup and restore state for Android apps. |
| 20 const char kArcBackupRestoreEnabled[] = "arc.backup_restore.enabled"; | 20 const char kArcBackupRestoreEnabled[] = "arc.backup_restore.enabled"; |
| 21 // A preference to keep Android apps enabled state. | 21 // A preference to keep Android apps enabled state. |
| 22 const char kArcEnabled[] = "arc.enabled"; | 22 const char kArcEnabled[] = "arc.enabled"; |
| 23 // A preference to keep list of Android packages and their infomation. | 23 // A preference to keep list of Android packages and their infomation. |
| 24 const char kArcPackages[] = "arc.packages"; | 24 const char kArcPackages[] = "arc.packages"; |
| 25 // A preference to keep deferred requests of setting notifications enabled flag. | 25 // A preference to keep deferred requests of setting notifications enabled flag. |
| 26 const char kArcSetNotificationsEnabledDeferred[] = | 26 const char kArcSetNotificationsEnabledDeferred[] = |
| 27 "arc.set_notifications_enabled_deferred"; | 27 "arc.set_notifications_enabled_deferred"; |
| 28 // A preference that indicates status of Android sign-in. | 28 // A preference that indicates status of Android sign-in. |
| 29 const char kArcSignedIn[] = "arc.signedin"; | 29 const char kArcSignedIn[] = "arc.signedin"; |
| 30 const char kArcLocationServiceEnabled[] = "arc.location_service.enabled"; | |
|
xiyuan
2016/07/25 18:03:40
nit: alpha sort and document it ?
khmel
2016/07/25 22:48:48
Done, I remember I did it :) probably was lost.
| |
| 30 #endif | 31 #endif |
| 31 | 32 |
| 32 // A bool pref that keeps whether the child status for this profile was already | 33 // A bool pref that keeps whether the child status for this profile was already |
| 33 // successfully checked via ChildAccountService. | 34 // successfully checked via ChildAccountService. |
| 34 const char kChildAccountStatusKnown[] = "child_account_status_known"; | 35 const char kChildAccountStatusKnown[] = "child_account_status_known"; |
| 35 | 36 |
| 36 // A string property indicating whether default apps should be installed | 37 // A string property indicating whether default apps should be installed |
| 37 // in this profile. Use the value "install" to enable defaults apps, or | 38 // in this profile. Use the value "install" to enable defaults apps, or |
| 38 // "noinstall" to disable them. This property is usually set in the | 39 // "noinstall" to disable them. This property is usually set in the |
| 39 // master_preferences and copied into the profile preferences on first run. | 40 // master_preferences and copied into the profile preferences on first run. |
| (...skipping 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2235 #endif | 2236 #endif |
| 2236 | 2237 |
| 2237 // The base64-encoded representation of the public key to use to validate origin | 2238 // The base64-encoded representation of the public key to use to validate origin |
| 2238 // trial token signatures. | 2239 // trial token signatures. |
| 2239 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; | 2240 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; |
| 2240 | 2241 |
| 2241 // A list of origin trial features to disable by policy. | 2242 // A list of origin trial features to disable by policy. |
| 2242 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; | 2243 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; |
| 2243 | 2244 |
| 2244 } // namespace prefs | 2245 } // namespace prefs |
| OLD | NEW |