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/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 |
|
Yusuke Sato
2017/02/17 22:27:09
Please also mention that the functions are in c/b/
hidehiko
2017/02/20 18:18:45
Done, but I'm not very sure if it is a good practi
Yusuke Sato
2017/02/21 20:59:43
File names are not necessary especially when the m
| |
| 32 // SetArcPlayStoreEnabledForProfile()). | |
|
hidehiko
2017/02/17 15:07:19
FYI: I haven't addressed this in this CL, so there
| |
| 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 2406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2448 | 2449 |
| 2449 // Number of times user has seen the "desktop to iOS" history page promotion. | 2450 // Number of times user has seen the "desktop to iOS" history page promotion. |
| 2450 const char kNumberHistoryPageIOSPromoShown[] = | 2451 const char kNumberHistoryPageIOSPromoShown[] = |
| 2451 "history_page_ios_promo_shown_count"; | 2452 "history_page_ios_promo_shown_count"; |
| 2452 | 2453 |
| 2453 // True if the user has dismissed the "desktop to iOS" history page promotion. | 2454 // True if the user has dismissed the "desktop to iOS" history page promotion. |
| 2454 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; | 2455 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; |
| 2455 #endif | 2456 #endif |
| 2456 | 2457 |
| 2457 } // namespace prefs | 2458 } // namespace prefs |
| OLD | NEW |