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

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

Issue 2416133002: Implement local storage for App List in case app sync is off. (Closed)
Patch Set: method renamed 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 2088 matching lines...) Expand 10 before | Expand all | Expand 10 after
2099 const char kAppLauncherHasBeenEnabled[] = 2099 const char kAppLauncherHasBeenEnabled[] =
2100 "apps.app_launcher.has_been_enabled"; 2100 "apps.app_launcher.has_been_enabled";
2101 2101
2102 // An enum indicating how the app launcher was enabled. E.g., via webstore, app 2102 // An enum indicating how the app launcher was enabled. E.g., via webstore, app
2103 // install, command line, etc. For UMA. 2103 // install, command line, etc. For UMA.
2104 const char kAppListEnableMethod[] = "app_list.how_enabled"; 2104 const char kAppListEnableMethod[] = "app_list.how_enabled";
2105 2105
2106 // The time that the app launcher was enabled. Cleared when UMA is recorded. 2106 // The time that the app launcher was enabled. Cleared when UMA is recorded.
2107 const char kAppListEnableTime[] = "app_list.when_enabled"; 2107 const char kAppListEnableTime[] = "app_list.when_enabled";
2108 2108
2109 // Keeps local state of app list while sync service is not available.
2110 const char kAppListLocalState[] = "app_list.local_state";
2111
2109 #if defined(OS_MACOSX) 2112 #if defined(OS_MACOSX)
2110 // Integer representing the version of the app launcher shortcut installed on 2113 // Integer representing the version of the app launcher shortcut installed on
2111 // the system. Incremented, e.g., when embedded icons change. 2114 // the system. Incremented, e.g., when embedded icons change.
2112 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; 2115 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version";
2113 #endif 2116 #endif
2114 2117
2115 // A boolean identifying if we should show the app launcher promo or not. 2118 // A boolean identifying if we should show the app launcher promo or not.
2116 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; 2119 const char kShowAppLauncherPromo[] = "app_launcher.show_promo";
2117 2120
2118 // A dictionary that tracks the Drive app to Chrome app mapping. The key is 2121 // A dictionary that tracks the Drive app to Chrome app mapping. The key is
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
2276 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2279 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2277 2280
2278 // A list of origin trial features to disable by policy. 2281 // A list of origin trial features to disable by policy.
2279 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2282 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2280 2283
2281 // Policy that indicates the state of updates for the binary components. 2284 // Policy that indicates the state of updates for the binary components.
2282 const char kComponentUpdatesEnabled[] = 2285 const char kComponentUpdatesEnabled[] =
2283 "component_updates.component_updates_enabled"; 2286 "component_updates.component_updates_enabled";
2284 2287
2285 } // namespace prefs 2288 } // 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