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

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 581583004: Importer - Add policy changes for ImportAutofillFormData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback (update latest value) Created 6 years, 3 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
« no previous file with comments | « no previous file | 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/policy/configuration_policy_handler_list_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 base::Value::TYPE_BOOLEAN }, 307 base::Value::TYPE_BOOLEAN },
308 { key::kImportHomepage, 308 { key::kImportHomepage,
309 prefs::kImportHomepage, 309 prefs::kImportHomepage,
310 base::Value::TYPE_BOOLEAN }, 310 base::Value::TYPE_BOOLEAN },
311 { key::kImportSearchEngine, 311 { key::kImportSearchEngine,
312 prefs::kImportSearchEngine, 312 prefs::kImportSearchEngine,
313 base::Value::TYPE_BOOLEAN }, 313 base::Value::TYPE_BOOLEAN },
314 { key::kImportSavedPasswords, 314 { key::kImportSavedPasswords,
315 prefs::kImportSavedPasswords, 315 prefs::kImportSavedPasswords,
316 base::Value::TYPE_BOOLEAN }, 316 base::Value::TYPE_BOOLEAN },
317 { key::kImportAutofillFormData,
318 prefs::kImportAutofillFormData,
319 base::Value::TYPE_BOOLEAN },
317 { key::kMaxConnectionsPerProxy, 320 { key::kMaxConnectionsPerProxy,
318 prefs::kMaxConnectionsPerProxy, 321 prefs::kMaxConnectionsPerProxy,
319 base::Value::TYPE_INTEGER }, 322 base::Value::TYPE_INTEGER },
320 { key::kURLWhitelist, 323 { key::kURLWhitelist,
321 policy_prefs::kUrlWhitelist, 324 policy_prefs::kUrlWhitelist,
322 base::Value::TYPE_LIST }, 325 base::Value::TYPE_LIST },
323 { key::kRestrictSigninToPattern, 326 { key::kRestrictSigninToPattern,
324 prefs::kGoogleServicesUsernamePattern, 327 prefs::kGoogleServicesUsernamePattern,
325 base::Value::TYPE_STRING }, 328 base::Value::TYPE_STRING },
326 { key::kDefaultMediaStreamSetting, 329 { key::kDefaultMediaStreamSetting,
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 chrome_schema, 795 chrome_schema,
793 SCHEMA_STRICT, 796 SCHEMA_STRICT,
794 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 797 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
795 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 798 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
796 #endif // defined(OS_CHROMEOS) 799 #endif // defined(OS_CHROMEOS)
797 800
798 return handlers.Pass(); 801 return handlers.Pass();
799 } 802 }
800 803
801 } // namespace policy 804 } // namespace policy
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698