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

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

Issue 11859029: Add a policy to hide the Web Store on new tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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') | chrome/test/data/policy/policy_test_cases.json » ('j') | 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/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; 525 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled";
526 526
527 // An integer representing the state of the default apps installation process. 527 // An integer representing the state of the default apps installation process.
528 // This value is persisted in the profile's user preferences because the process 528 // This value is persisted in the profile's user preferences because the process
529 // is async, and the user may have stopped chrome in the middle. The next time 529 // is async, and the user may have stopped chrome in the middle. The next time
530 // the profile is opened, the process will continue from where it left off. 530 // the profile is opened, the process will continue from where it left off.
531 // 531 //
532 // See possible values in external_provider_impl.cc. 532 // See possible values in external_provider_impl.cc.
533 const char kDefaultAppsInstallState[] = "default_apps_install_state"; 533 const char kDefaultAppsInstallState[] = "default_apps_install_state";
534 534
535 // A boolean pref set to true if the Chrome Web Store icons should be hidden
536 // from the New Tab Page and app launcher.
537 const char kHideWebStoreIcon[] = "hide_web_store_icon";
538
535 #if defined(OS_CHROMEOS) 539 #if defined(OS_CHROMEOS)
536 // An integer pref to initially mute volume if 1. This pref is ignored if 540 // An integer pref to initially mute volume if 1. This pref is ignored if
537 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore 541 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore
538 // when the policy is lifted the original mute state is restored. 542 // when the policy is lifted the original mute state is restored.
539 const char kAudioMute[] = "settings.audio.mute"; 543 const char kAudioMute[] = "settings.audio.mute";
540 544
541 // A double pref storing the user-requested volume. 545 // A double pref storing the user-requested volume.
542 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; 546 const char kAudioVolumePercent[] = "settings.audio.volume_percent";
543 547
544 // A boolean pref set to true if touchpad tap-to-click is enabled. 548 // A boolean pref set to true if touchpad tap-to-click is enabled.
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after
2314 const char kRLZDisabled[] = "rlz.disabled"; 2318 const char kRLZDisabled[] = "rlz.disabled";
2315 #endif 2319 #endif
2316 2320
2317 #if defined(ENABLE_APP_LIST) 2321 #if defined(ENABLE_APP_LIST)
2318 // The directory in user data dir that contains the profile to be used with the 2322 // The directory in user data dir that contains the profile to be used with the
2319 // app launcher. 2323 // app launcher.
2320 extern const char kAppListProfile[] = "app_list.profile"; 2324 extern const char kAppListProfile[] = "app_list.profile";
2321 #endif 2325 #endif
2322 2326
2323 } // namespace prefs 2327 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698