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

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

Issue 8245018: Remove race condition when installing default apps into a new profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressing review comments Created 9 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 | Annotate | Revision Log
« 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 const char kMultipleProfilePrefMigration[] = 375 const char kMultipleProfilePrefMigration[] =
376 "local_state.multiple_profile_prefs_version"; 376 "local_state.multiple_profile_prefs_version";
377 377
378 // A boolean pref set to true if prediction of network actions is allowed. 378 // A boolean pref set to true if prediction of network actions is allowed.
379 // Actions include DNS prefetching, TCP and SSL preconnection, and prerendering 379 // Actions include DNS prefetching, TCP and SSL preconnection, and prerendering
380 // of web pages. 380 // of web pages.
381 // NOTE: The "dns_prefetching.enabled" value is used so that historical user 381 // NOTE: The "dns_prefetching.enabled" value is used so that historical user
382 // preferences are not lost. 382 // preferences are not lost.
383 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; 383 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled";
384 384
385 // An integer representing the state of the default apps installation process.
386 // This value is persisted in the profile's user preferences because the process
387 // is async, and the user may have stopped chrome in the middle. The next time
388 // the profile is opened, the process will continue from where it left off.
389 //
390 // See possible values in external_extension_provider_impl.cc.
391 const char kDefaultAppsInstallState[] = "default_apps_install_state";
392
385 #if defined(OS_CHROMEOS) 393 #if defined(OS_CHROMEOS)
386 // An integer pref to initially mute volume if 1. 394 // An integer pref to initially mute volume if 1.
387 const char kAudioMute[] = "settings.audio.mute"; 395 const char kAudioMute[] = "settings.audio.mute";
388 396
389 // A double pref to set initial volume. 397 // A double pref to set initial volume.
390 const char kAudioVolume[] = "settings.audio.volume"; 398 const char kAudioVolume[] = "settings.audio.volume";
391 399
392 // A boolean pref set to true if TapToClick is being done in browser. 400 // A boolean pref set to true if TapToClick is being done in browser.
393 const char kTapToClickEnabled[] = "settings.touchpad.enable_tap_to_click"; 401 const char kTapToClickEnabled[] = "settings.touchpad.enable_tap_to_click";
394 402
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1625 1633
1626 // String that represents the recovery component last downloaded version. This 1634 // String that represents the recovery component last downloaded version. This
1627 // takes the usual 'a.b.c.d' notation. 1635 // takes the usual 'a.b.c.d' notation.
1628 const char kRecoveryComponentVersion[] = "recovery_component.version"; 1636 const char kRecoveryComponentVersion[] = "recovery_component.version";
1629 1637
1630 // String that stores the component updater last known state. This is used for 1638 // String that stores the component updater last known state. This is used for
1631 // troubleshooting. 1639 // troubleshooting.
1632 const char kComponentUpdaterState[] = "component_updater.state"; 1640 const char kComponentUpdaterState[] = "component_updater.state";
1633 1641
1634 } // namespace prefs 1642 } // 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