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

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 issues pointed out by Mattias Created 9 years, 5 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
« chrome/common/pref_names.h ('K') | « 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 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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 706
707 // Preference to disable 3D APIs (WebGL, Pepper 3D). 707 // Preference to disable 3D APIs (WebGL, Pepper 3D).
708 const char kDisable3DAPIs[] = "disable_3d_apis"; 708 const char kDisable3DAPIs[] = "disable_3d_apis";
709 709
710 // Whether to enable hyperlink auditing ("<a ping>"). 710 // Whether to enable hyperlink auditing ("<a ping>").
711 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 711 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
712 712
713 // Whether to enable sending referrers. 713 // Whether to enable sending referrers.
714 const char kEnableReferrers[] = "enable_referrers"; 714 const char kEnableReferrers[] = "enable_referrers";
715 715
716 // Boolean that specifies whether to import bookmarks from the default browser
717 // on first run.
718 const char kImportBookmarks[] = "import_bookmarks";
719
720 // Boolean that specifies whether to import the browsing history from the
721 // default browser on first run.
722 const char kImportHistory[] = "import_history";
723
724 // Boolean that specifies whether to import the homepage from the default
725 // browser on first run.
726 const char kImportHomepage[] = "import_home_page";
727
728 // Boolean that specifies whether to import the search engine from the default
729 // browser on first run.
730 const char kImportSearchEngine[] = "import_search_engine";
731
732 // Boolean that specifies whether to import the saved passwords from the default
733 // browser on first run.
734 const char kImportSavedPasswords[] = "import_saved_passwords";
735
716 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX) 736 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
717 // The local profile id for this profile. 737 // The local profile id for this profile.
718 const char kLocalProfileId[] = "profile.local_profile_id"; 738 const char kLocalProfileId[] = "profile.local_profile_id";
719 739
720 // Whether passwords in external services (e.g. GNOME Keyring) have been tagged 740 // Whether passwords in external services (e.g. GNOME Keyring) have been tagged
721 // with the local profile id yet. (Used for migrating to tagged passwords.) 741 // with the local profile id yet. (Used for migrating to tagged passwords.)
722 const char kPasswordsUseLocalProfileId[] = 742 const char kPasswordsUseLocalProfileId[] =
723 "profile.passwords_use_local_profile_id"; 743 "profile.passwords_use_local_profile_id";
724 #endif 744 #endif
725 745
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 // Whether user-specified handlers for protocols and content types can be 1417 // Whether user-specified handlers for protocols and content types can be
1398 // specified. 1418 // specified.
1399 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1419 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1400 1420
1401 // Integers that specify the policy refresh rate for device- and user-policy in 1421 // Integers that specify the policy refresh rate for device- and user-policy in
1402 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1422 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1403 // by the cloud policy subsystem. 1423 // by the cloud policy subsystem.
1404 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1424 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1405 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1425 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1406 } // namespace prefs 1426 } // namespace prefs
OLDNEW
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698