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

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

Issue 2541173002: arc: Make request to remove Android's data folder persistent. (Closed)
Patch Set: cleanup Created 4 years 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"
11 #include "extensions/features/features.h" 11 #include "extensions/features/features.h"
12 #include "media/media_features.h" 12 #include "media/media_features.h"
13 #include "ppapi/features/features.h" 13 #include "ppapi/features/features.h"
14 14
15 namespace prefs { 15 namespace prefs {
16 16
17 // *************** PROFILE PREFS *************** 17 // *************** PROFILE PREFS ***************
18 // These are attached to the user profile 18 // These are attached to the user profile
19 19
20 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) 20 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST)
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 data is invalid and must be cleared.
Luis Héctor Chávez 2016/11/30 23:30:14 nit: A preference to indicate that Android's /data
khmel 2016/11/30 23:50:34 Done.
26 const char kArcDataInvalid[] = "arc.data.invalid";
Luis Héctor Chávez 2016/11/30 23:30:14 nit: "arc.data.remove_requested"
khmel 2016/11/30 23:50:34 Done. That is nicer, thanks!
25 // A preference to keep Android apps enabled state. 27 // A preference to keep Android apps enabled state.
26 const char kArcEnabled[] = "arc.enabled"; 28 const char kArcEnabled[] = "arc.enabled";
27 // A preference that indicated whether Android reported that it's compliant 29 // A preference that indicated whether Android reported that it's compliant
28 // with provided policies. When it's compliant, Android kiosk app will start. 30 // with provided policies. When it's compliant, Android kiosk app will start.
29 const char kArcPolicyCompliant[] = "arc.policy_compliant"; 31 const char kArcPolicyCompliant[] = "arc.policy_compliant";
30 // A preference that indicates that user accepted PlayStore terms. 32 // A preference that indicates that user accepted PlayStore terms.
31 const char kArcTermsAccepted[] = "arc.terms.accepted"; 33 const char kArcTermsAccepted[] = "arc.terms.accepted";
32 // A preference to keep user's consent to use location service. 34 // A preference to keep user's consent to use location service.
33 const char kArcLocationServiceEnabled[] = "arc.location_service.enabled"; 35 const char kArcLocationServiceEnabled[] = "arc.location_service.enabled";
34 // A preference to keep list of Android packages and their infomation. 36 // A preference to keep list of Android packages and their infomation.
(...skipping 2291 matching lines...) Expand 10 before | Expand all | Expand 10 after
2326 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2328 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2327 "search_geolocation_pre_disclosure_metrics_recorded"; 2329 "search_geolocation_pre_disclosure_metrics_recorded";
2328 2330
2329 // Whether the metrics for the state of geolocation post-disclosure being shown 2331 // Whether the metrics for the state of geolocation post-disclosure being shown
2330 // have been recorded. 2332 // have been recorded.
2331 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2333 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2332 "search_geolocation_post_disclosure_metrics_recorded"; 2334 "search_geolocation_post_disclosure_metrics_recorded";
2333 #endif 2335 #endif
2334 2336
2335 } // namespace prefs 2337 } // 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