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

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

Issue 7390027: Added group policies to enable/disable importing of data from other browsers. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed remaining nits Created 9 years, 4 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 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 710
711 // Preference to disable 3D APIs (WebGL, Pepper 3D). 711 // Preference to disable 3D APIs (WebGL, Pepper 3D).
712 const char kDisable3DAPIs[] = "disable_3d_apis"; 712 const char kDisable3DAPIs[] = "disable_3d_apis";
713 713
714 // Whether to enable hyperlink auditing ("<a ping>"). 714 // Whether to enable hyperlink auditing ("<a ping>").
715 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 715 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
716 716
717 // Whether to enable sending referrers. 717 // Whether to enable sending referrers.
718 const char kEnableReferrers[] = "enable_referrers"; 718 const char kEnableReferrers[] = "enable_referrers";
719 719
720 // Boolean that specifies whether to import bookmarks from the default browser
721 // on first run.
722 const char kImportBookmarks[] = "import_bookmarks";
723
724 // Boolean that specifies whether to import the browsing history from the
725 // default browser on first run.
726 const char kImportHistory[] = "import_history";
727
728 // Boolean that specifies whether to import the homepage from the default
729 // browser on first run.
730 const char kImportHomepage[] = "import_home_page";
731
732 // Boolean that specifies whether to import the search engine from the default
733 // browser on first run.
734 const char kImportSearchEngine[] = "import_search_engine";
735
736 // Boolean that specifies whether to import the saved passwords from the default
737 // browser on first run.
738 const char kImportSavedPasswords[] = "import_saved_passwords";
739
720 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX) 740 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
721 // The local profile id for this profile. 741 // The local profile id for this profile.
722 const char kLocalProfileId[] = "profile.local_profile_id"; 742 const char kLocalProfileId[] = "profile.local_profile_id";
723 743
724 // Whether passwords in external services (e.g. GNOME Keyring) have been tagged 744 // Whether passwords in external services (e.g. GNOME Keyring) have been tagged
725 // with the local profile id yet. (Used for migrating to tagged passwords.) 745 // with the local profile id yet. (Used for migrating to tagged passwords.)
726 const char kPasswordsUseLocalProfileId[] = 746 const char kPasswordsUseLocalProfileId[] =
727 "profile.passwords_use_local_profile_id"; 747 "profile.passwords_use_local_profile_id";
728 #endif 748 #endif
729 749
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 // Whether user-specified handlers for protocols and content types can be 1434 // Whether user-specified handlers for protocols and content types can be
1415 // specified. 1435 // specified.
1416 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1436 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1417 1437
1418 // Integers that specify the policy refresh rate for device- and user-policy in 1438 // Integers that specify the policy refresh rate for device- and user-policy in
1419 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1439 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1420 // by the cloud policy subsystem. 1440 // by the cloud policy subsystem.
1421 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1441 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1422 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1442 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1423 } // namespace prefs 1443 } // namespace prefs
OLDNEW
« chrome/browser/resources/options/import_data_overlay.js ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698