| 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 10 matching lines...) Expand all Loading... |
| 21 // A preference to keep list of Android apps and their state. | 21 // A preference to keep list of Android apps and their state. |
| 22 const char kArcApps[] = "arc.apps"; | 22 const char kArcApps[] = "arc.apps"; |
| 23 // A preference to store backup and restore state for Android apps. | 23 // A preference to store backup and restore state for Android apps. |
| 24 const char kArcBackupRestoreEnabled[] = "arc.backup_restore.enabled"; | 24 const char kArcBackupRestoreEnabled[] = "arc.backup_restore.enabled"; |
| 25 // A preference to indicate that Android's data directory should be removed. | 25 // A preference to indicate that Android's data directory should be removed. |
| 26 const char kArcDataRemoveRequested[] = "arc.data.remove_requested"; | 26 const char kArcDataRemoveRequested[] = "arc.data.remove_requested"; |
| 27 // A preference representing whether a user has opted in to use Google Play | 27 // A preference representing whether a user has opted in to use Google Play |
| 28 // Store on ARC. | 28 // Store on ARC. |
| 29 // TODO(hidehiko): For historical reason, now the preference name does not | 29 // TODO(hidehiko): For historical reason, now the preference name does not |
| 30 // directly reflect "Google Play Store". We should get and set the values via | 30 // directly reflect "Google Play Store". We should get and set the values via |
| 31 // utility methods (IsArcPlayStoreEnabled() and SetArcPlayStoreEnabled()). | 31 // utility methods (IsArcPlayStoreEnabledForProfile() and |
| 32 // SetArcPlayStoreEnabledForProfile()) in chrome/browser/chromeos/arc/arc_util. |
| 32 const char kArcEnabled[] = "arc.enabled"; | 33 const char kArcEnabled[] = "arc.enabled"; |
| 33 // A preference that indicated whether Android reported that it's compliant | 34 // A preference that indicated whether Android reported that it's compliant |
| 34 // with provided policies. When it's compliant, Android kiosk app will start. | 35 // with provided policies. When it's compliant, Android kiosk app will start. |
| 35 const char kArcPolicyCompliant[] = "arc.policy_compliant"; | 36 const char kArcPolicyCompliant[] = "arc.policy_compliant"; |
| 36 // A preference that indicates that user accepted PlayStore terms. | 37 // A preference that indicates that user accepted PlayStore terms. |
| 37 const char kArcTermsAccepted[] = "arc.terms.accepted"; | 38 const char kArcTermsAccepted[] = "arc.terms.accepted"; |
| 38 // A preference to keep user's consent to use location service. | 39 // A preference to keep user's consent to use location service. |
| 39 const char kArcLocationServiceEnabled[] = "arc.location_service.enabled"; | 40 const char kArcLocationServiceEnabled[] = "arc.location_service.enabled"; |
| 40 // A preference to keep list of Android packages and their infomation. | 41 // A preference to keep list of Android packages and their infomation. |
| 41 const char kArcPackages[] = "arc.packages"; | 42 const char kArcPackages[] = "arc.packages"; |
| (...skipping 2428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2470 | 2471 |
| 2471 // Number of times user has seen the "desktop to iOS" history page promotion. | 2472 // Number of times user has seen the "desktop to iOS" history page promotion. |
| 2472 const char kNumberHistoryPageIOSPromoShown[] = | 2473 const char kNumberHistoryPageIOSPromoShown[] = |
| 2473 "history_page_ios_promo_shown_count"; | 2474 "history_page_ios_promo_shown_count"; |
| 2474 | 2475 |
| 2475 // True if the user has dismissed the "desktop to iOS" history page promotion. | 2476 // True if the user has dismissed the "desktop to iOS" history page promotion. |
| 2476 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; | 2477 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; |
| 2477 #endif | 2478 #endif |
| 2478 | 2479 |
| 2479 } // namespace prefs | 2480 } // namespace prefs |
| OLD | NEW |