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

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: Fix more trybot breaks 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
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 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1619 // specified. 1627 // specified.
1620 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1628 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1621 1629
1622 // Integers that specify the policy refresh rate for device- and user-policy in 1630 // Integers that specify the policy refresh rate for device- and user-policy in
1623 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1631 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1624 // by the cloud policy subsystem. 1632 // by the cloud policy subsystem.
1625 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1633 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1626 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1634 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1627 1635
1628 } // namespace prefs 1636 } // namespace prefs
OLDNEW
« chrome/browser/profiles/profile.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