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

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

Issue 2468413005: Implement local storage for App List in case app sync is off. (Closed)
Patch Set: Created 4 years, 1 month 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"
(...skipping 2080 matching lines...) Expand 10 before | Expand all | Expand 10 after
2091 const char kAppLauncherHasBeenEnabled[] = 2091 const char kAppLauncherHasBeenEnabled[] =
2092 "apps.app_launcher.has_been_enabled"; 2092 "apps.app_launcher.has_been_enabled";
2093 2093
2094 // An enum indicating how the app launcher was enabled. E.g., via webstore, app 2094 // An enum indicating how the app launcher was enabled. E.g., via webstore, app
2095 // install, command line, etc. For UMA. 2095 // install, command line, etc. For UMA.
2096 const char kAppListEnableMethod[] = "app_list.how_enabled"; 2096 const char kAppListEnableMethod[] = "app_list.how_enabled";
2097 2097
2098 // The time that the app launcher was enabled. Cleared when UMA is recorded. 2098 // The time that the app launcher was enabled. Cleared when UMA is recorded.
2099 const char kAppListEnableTime[] = "app_list.when_enabled"; 2099 const char kAppListEnableTime[] = "app_list.when_enabled";
2100 2100
2101 // Keeps local state of app list while sync service is not available.
2102 const char kAppListLocalState[] = "app_list.local_state";
2103
2101 #if defined(OS_MACOSX) 2104 #if defined(OS_MACOSX)
2102 // Integer representing the version of the app launcher shortcut installed on 2105 // Integer representing the version of the app launcher shortcut installed on
2103 // the system. Incremented, e.g., when embedded icons change. 2106 // the system. Incremented, e.g., when embedded icons change.
2104 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; 2107 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version";
2105 #endif 2108 #endif
2106 2109
2107 // A boolean identifying if we should show the app launcher promo or not. 2110 // A boolean identifying if we should show the app launcher promo or not.
2108 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; 2111 const char kShowAppLauncherPromo[] = "app_launcher.show_promo";
2109 2112
2110 // A dictionary that tracks the Drive app to Chrome app mapping. The key is 2113 // A dictionary that tracks the Drive app to Chrome app mapping. The key is
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
2266 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2269 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2267 2270
2268 // A list of origin trial features to disable by policy. 2271 // A list of origin trial features to disable by policy.
2269 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2272 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2270 2273
2271 // Policy that indicates the state of updates for the binary components. 2274 // Policy that indicates the state of updates for the binary components.
2272 const char kComponentUpdatesEnabled[] = 2275 const char kComponentUpdatesEnabled[] =
2273 "component_updates.component_updates_enabled"; 2276 "component_updates.component_updates_enabled";
2274 2277
2275 } // namespace prefs 2278 } // 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