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

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

Issue 2704113003: Save Play user id when ARC user gets a Managed Google Play account (Closed)
Patch Set: Rebase Created 3 years, 9 months 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
« no previous file with comments | « 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 // Stores the user id received from DM Server when enrolling a Play user on an
22 // Active Directory managed device. Used to report to DM Server that the account
23 // is still used.
24 const char kArcActiveDirectoryPlayUserId[] =
25 "arc.active_directory_play_user_id";
21 // A preference to keep list of Android apps and their state. 26 // A preference to keep list of Android apps and their state.
22 const char kArcApps[] = "arc.apps"; 27 const char kArcApps[] = "arc.apps";
23 // A preference to store backup and restore state for Android apps. 28 // A preference to store backup and restore state for Android apps.
24 const char kArcBackupRestoreEnabled[] = "arc.backup_restore.enabled"; 29 const char kArcBackupRestoreEnabled[] = "arc.backup_restore.enabled";
25 // 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.
26 const char kArcDataRemoveRequested[] = "arc.data.remove_requested"; 31 const char kArcDataRemoveRequested[] = "arc.data.remove_requested";
27 // 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
28 // Store on ARC. 33 // Store on ARC.
29 // TODO(hidehiko): For historical reason, now the preference name does not 34 // 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 35 // directly reflect "Google Play Store". We should get and set the values via
(...skipping 2476 matching lines...) Expand 10 before | Expand all | Expand 10 after
2507 // settings. 2512 // settings.
2508 const char kSettingsResetPromptLastTriggeredForStartupUrls[] = 2513 const char kSettingsResetPromptLastTriggeredForStartupUrls[] =
2509 "settings_reset_prompt.last_triggered_for_startup_urls"; 2514 "settings_reset_prompt.last_triggered_for_startup_urls";
2510 2515
2511 // Timestamp of the last time the settings reset prompt was shown during the 2516 // Timestamp of the last time the settings reset prompt was shown during the
2512 // current prompt wave asking the user if they want to restore their homepage. 2517 // current prompt wave asking the user if they want to restore their homepage.
2513 const char kSettingsResetPromptLastTriggeredForHomepage[] = 2518 const char kSettingsResetPromptLastTriggeredForHomepage[] =
2514 "settings_reset_prompt.last_triggered_for_homepage"; 2519 "settings_reset_prompt.last_triggered_for_homepage";
2515 2520
2516 } // namespace prefs 2521 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698