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/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 18 matching lines...) Expand all Loading... | |
29 const char kArcBackupRestoreEnabled[] = "arc.backup_restore.enabled"; | 29 const char kArcBackupRestoreEnabled[] = "arc.backup_restore.enabled"; |
30 // A preference to indicate that Android's data directory should be removed. | 30 // A preference to indicate that Android's data directory should be removed. |
31 const char kArcDataRemoveRequested[] = "arc.data.remove_requested"; | 31 const char kArcDataRemoveRequested[] = "arc.data.remove_requested"; |
32 // A preference representing whether a user has opted in to use Google Play | 32 // A preference representing whether a user has opted in to use Google Play |
33 // Store on ARC. | 33 // Store on ARC. |
34 // TODO(hidehiko): For historical reason, now the preference name does not | 34 // TODO(hidehiko): For historical reason, now the preference name does not |
35 // directly reflect "Google Play Store". We should get and set the values via | 35 // directly reflect "Google Play Store". We should get and set the values via |
36 // utility methods (IsArcPlayStoreEnabledForProfile() and | 36 // utility methods (IsArcPlayStoreEnabledForProfile() and |
37 // SetArcPlayStoreEnabledForProfile()) in chrome/browser/chromeos/arc/arc_util. | 37 // SetArcPlayStoreEnabledForProfile()) in chrome/browser/chromeos/arc/arc_util. |
38 const char kArcEnabled[] = "arc.enabled"; | 38 const char kArcEnabled[] = "arc.enabled"; |
39 // A preference that indicated whether Android reported it's compliance status | |
Nikita (slow)
2017/04/12 15:06:20
nit: Should make a note that this one is used only
Sergey Poromov
2017/04/13 11:11:09
Done.
| |
40 // with provided policies. Only after reporting Android kiosk app will start. | |
41 const char kArcPolicyComplianceReported[] = "arc.policy_compliance_reported"; | |
39 // A preference that indicates that user accepted PlayStore terms. | 42 // A preference that indicates that user accepted PlayStore terms. |
40 const char kArcTermsAccepted[] = "arc.terms.accepted"; | 43 const char kArcTermsAccepted[] = "arc.terms.accepted"; |
41 // A preference to keep user's consent to use location service. | 44 // A preference to keep user's consent to use location service. |
42 const char kArcLocationServiceEnabled[] = "arc.location_service.enabled"; | 45 const char kArcLocationServiceEnabled[] = "arc.location_service.enabled"; |
43 // A preference to keep list of Android packages and their infomation. | 46 // A preference to keep list of Android packages and their infomation. |
44 const char kArcPackages[] = "arc.packages"; | 47 const char kArcPackages[] = "arc.packages"; |
45 // A preference to keep deferred requests of setting notifications enabled flag. | 48 // A preference to keep deferred requests of setting notifications enabled flag. |
46 const char kArcSetNotificationsEnabledDeferred[] = | 49 const char kArcSetNotificationsEnabledDeferred[] = |
47 "arc.set_notifications_enabled_deferred"; | 50 "arc.set_notifications_enabled_deferred"; |
48 // A preference that indicates status of Android sign-in. | 51 // A preference that indicates status of Android sign-in. |
(...skipping 2474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2523 // settings. | 2526 // settings. |
2524 const char kSettingsResetPromptLastTriggeredForStartupUrls[] = | 2527 const char kSettingsResetPromptLastTriggeredForStartupUrls[] = |
2525 "settings_reset_prompt.last_triggered_for_startup_urls"; | 2528 "settings_reset_prompt.last_triggered_for_startup_urls"; |
2526 | 2529 |
2527 // Timestamp of the last time the settings reset prompt was shown during the | 2530 // Timestamp of the last time the settings reset prompt was shown during the |
2528 // current prompt wave asking the user if they want to restore their homepage. | 2531 // current prompt wave asking the user if they want to restore their homepage. |
2529 const char kSettingsResetPromptLastTriggeredForHomepage[] = | 2532 const char kSettingsResetPromptLastTriggeredForHomepage[] = |
2530 "settings_reset_prompt.last_triggered_for_homepage"; | 2533 "settings_reset_prompt.last_triggered_for_homepage"; |
2531 | 2534 |
2532 } // namespace prefs | 2535 } // namespace prefs |
OLD | NEW |