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

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: comments addressed Created 4 years, 2 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
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 2089 matching lines...) Expand 10 before | Expand all | Expand 10 after
2100 const char kAppLauncherHasBeenEnabled[] = 2100 const char kAppLauncherHasBeenEnabled[] =
2101 "apps.app_launcher.has_been_enabled"; 2101 "apps.app_launcher.has_been_enabled";
2102 2102
2103 // An enum indicating how the app launcher was enabled. E.g., via webstore, app 2103 // An enum indicating how the app launcher was enabled. E.g., via webstore, app
2104 // install, command line, etc. For UMA. 2104 // install, command line, etc. For UMA.
2105 const char kAppListEnableMethod[] = "app_list.how_enabled"; 2105 const char kAppListEnableMethod[] = "app_list.how_enabled";
2106 2106
2107 // The time that the app launcher was enabled. Cleared when UMA is recorded. 2107 // The time that the app launcher was enabled. Cleared when UMA is recorded.
2108 const char kAppListEnableTime[] = "app_list.when_enabled"; 2108 const char kAppListEnableTime[] = "app_list.when_enabled";
2109 2109
2110 // Keeps local state of app list while sync service is not available.
2111 const char kAppListLocalState[] = "app_list.local_state";
2112
2110 #if defined(OS_MACOSX) 2113 #if defined(OS_MACOSX)
2111 // Integer representing the version of the app launcher shortcut installed on 2114 // Integer representing the version of the app launcher shortcut installed on
2112 // the system. Incremented, e.g., when embedded icons change. 2115 // the system. Incremented, e.g., when embedded icons change.
2113 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; 2116 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version";
2114 #endif 2117 #endif
2115 2118
2116 // A boolean identifying if we should show the app launcher promo or not. 2119 // A boolean identifying if we should show the app launcher promo or not.
2117 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; 2120 const char kShowAppLauncherPromo[] = "app_launcher.show_promo";
2118 2121
2119 // A dictionary that tracks the Drive app to Chrome app mapping. The key is 2122 // 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
2277 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2280 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2278 2281
2279 // A list of origin trial features to disable by policy. 2282 // A list of origin trial features to disable by policy.
2280 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2283 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2281 2284
2282 // Policy that indicates the state of updates for the binary components. 2285 // Policy that indicates the state of updates for the binary components.
2283 const char kComponentUpdatesEnabled[] = 2286 const char kComponentUpdatesEnabled[] =
2284 "component_updates.component_updates_enabled"; 2287 "component_updates.component_updates_enabled";
2285 2288
2286 } // namespace prefs 2289 } // namespace prefs
OLDNEW
« chrome/browser/ui/app_list/app_list_syncable_service.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698