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/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 2006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2017 | 2017 |
2018 // The next media gallery ID to assign. | 2018 // The next media gallery ID to assign. |
2019 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id"; | 2019 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id"; |
2020 | 2020 |
2021 // A list of dictionaries, where each dictionary represents a known media | 2021 // A list of dictionaries, where each dictionary represents a known media |
2022 // gallery. | 2022 // gallery. |
2023 const char kMediaGalleriesRememberedGalleries[] = | 2023 const char kMediaGalleriesRememberedGalleries[] = |
2024 "media_galleries.remembered_galleries"; | 2024 "media_galleries.remembered_galleries"; |
2025 | 2025 |
2026 #if defined(USE_AURA) | 2026 #if defined(USE_AURA) |
| 2027 // |kShelfAlignment| and |kShelfAutoHideBehavior| have a local variant. The |
| 2028 // local variant is not synced and is used if set. If the local variant is not |
| 2029 // set its value is set from the synced value (once prefs have been |
| 2030 // synced). This gives a per-machine setting that is initialized from the last |
| 2031 // set value. |
2027 // String value corresponding to ash::Shell::ShelfAlignment. | 2032 // String value corresponding to ash::Shell::ShelfAlignment. |
2028 const char kShelfAlignment[] = "shelf_alignment"; | 2033 const char kShelfAlignment[] = "shelf_alignment"; |
| 2034 const char kShelfAlignmentLocal[] = "shelf_alignment_local"; |
2029 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. | 2035 // String value corresponding to ash::Shell::ShelfAutoHideBehavior. |
2030 const char kShelfAutoHideBehavior[] = | 2036 const char kShelfAutoHideBehavior[] = "auto_hide_behavior"; |
2031 "auto_hide_behavior"; | 2037 const char kShelfAutoHideBehaviorLocal[] = "auto_hide_behavior_local"; |
2032 // Boolean value indicating whether to use default pinned apps. | 2038 // Boolean value indicating whether to use default pinned apps. |
2033 const char kUseDefaultPinnedApps[] = "use_default_pinned_apps"; | 2039 const char kUseDefaultPinnedApps[] = "use_default_pinned_apps"; |
2034 const char kPinnedLauncherApps[] = | 2040 const char kPinnedLauncherApps[] = |
2035 "pinned_launcher_apps"; | 2041 "pinned_launcher_apps"; |
2036 | 2042 |
2037 // Boolean value indicating whether launcher should run sync animation. | 2043 // Boolean value indicating whether launcher should run sync animation. |
2038 // Note this is an unsyncable pref value used as a flag per profile because sync | 2044 // Note this is an unsyncable pref value used as a flag per profile because sync |
2039 // animation should only run once for new ChromeOS login (i.e. once per created | 2045 // animation should only run once for new ChromeOS login (i.e. once per created |
2040 // profile on ChromeOS device). | 2046 // profile on ChromeOS device). |
2041 const char kLauncherShouldRunSyncAnimation[] = | 2047 const char kLauncherShouldRunSyncAnimation[] = |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2092 // Tracks the time of the last shown warning. Used to reset | 2098 // Tracks the time of the last shown warning. Used to reset |
2093 // |network_profile.warnings_left| after a silence period. | 2099 // |network_profile.warnings_left| after a silence period. |
2094 const char kNetworkProfileLastWarningTime[] = | 2100 const char kNetworkProfileLastWarningTime[] = |
2095 "network_profile.last_warning_time"; | 2101 "network_profile.last_warning_time"; |
2096 | 2102 |
2097 // 64-bit serialization of the time last policy usage statistics were collected | 2103 // 64-bit serialization of the time last policy usage statistics were collected |
2098 // by UMA_HISTOGRAM_ENUMERATION. | 2104 // by UMA_HISTOGRAM_ENUMERATION. |
2099 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; | 2105 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; |
2100 | 2106 |
2101 } // namespace prefs | 2107 } // namespace prefs |
OLD | NEW |