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

Unified Diff: chrome/browser/policy/configuration_policy_pref_store.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: . 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/configuration_policy_pref_store.cc
diff --git a/chrome/browser/policy/configuration_policy_pref_store.cc b/chrome/browser/policy/configuration_policy_pref_store.cc
index 7c52f5a6a9dd0260063923a82900eb9d0c0bf1d7..344d59c5b12a92aad5c73c90e2fd9bd4c9ee78bf 100644
--- a/chrome/browser/policy/configuration_policy_pref_store.cc
+++ b/chrome/browser/policy/configuration_policy_pref_store.cc
@@ -293,6 +293,18 @@ const ConfigurationPolicyPrefKeeper::PolicyToPreferenceMapEntry
prefs::kPluginsAlwaysAuthorize },
{ Value::TYPE_BOOLEAN, kPolicyEditBookmarksEnabled,
prefs::kEditBookmarksEnabled },
+ { Value::TYPE_BOOLEAN, kPolicyAllowFileSelectionDialogs,
+ prefs::kAllowFileSelectionDialogs },
+ { Value::TYPE_BOOLEAN, kPolicyImportBookmarks,
+ prefs::kImportBookmarks},
+ { Value::TYPE_BOOLEAN, kPolicyImportHistory,
+ prefs::kImportHistory},
+ { Value::TYPE_BOOLEAN, kPolicyImportHomepage,
+ prefs::kImportHomepage},
+ { Value::TYPE_BOOLEAN, kPolicyImportSearchEngine,
+ prefs::kImportSearchEngine },
+ { Value::TYPE_BOOLEAN, kPolicyImportSavedPasswords,
+ prefs::kImportSavedPasswords },
{ Value::TYPE_INTEGER, kPolicyMaxConnectionsPerProxy,
prefs::kMaxConnectionsPerProxy },
{ Value::TYPE_BOOLEAN, kPolicyHideWebStorePromo,
@@ -1159,6 +1171,16 @@ ConfigurationPolicyPrefStore::GetChromePolicyDefinitionList() {
key::kAllowFileSelectionDialogs },
{ kPolicyDiskCacheDir, Value::TYPE_STRING,
key::kDiskCacheDir },
+ { kPolicyImportBookmarks, Value::TYPE_BOOLEAN,
+ key::kImportBookmarks },
+ { kPolicyImportHistory, Value::TYPE_BOOLEAN,
+ key::kImportHistory },
+ { kPolicyImportHomepage, Value::TYPE_BOOLEAN,
+ key::kImportHomepage },
+ { kPolicyImportSearchEngine, Value::TYPE_BOOLEAN,
+ key::kImportSearchEngine },
+ { kPolicyImportSavedPasswords, Value::TYPE_BOOLEAN,
+ key::kImportSavedPasswords },
{ kPolicyMaxConnectionsPerProxy, Value::TYPE_INTEGER,
key::kMaxConnectionsPerProxy },
{ kPolicyHideWebStorePromo, Value::TYPE_BOOLEAN,
« no previous file with comments | « chrome/browser/importer/importer_host.cc ('k') | chrome/browser/policy/configuration_policy_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698