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

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

Issue 2257363002: Define EnabledComponentUpdates group policy for the component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@callback
Patch Set: Removed policy group. Reworded comment. Created 4 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
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 <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 base::Value::TYPE_BOOLEAN }, 355 base::Value::TYPE_BOOLEAN },
356 { key::kHardwareAccelerationModeEnabled, 356 { key::kHardwareAccelerationModeEnabled,
357 prefs::kHardwareAccelerationModeEnabled, 357 prefs::kHardwareAccelerationModeEnabled,
358 base::Value::TYPE_BOOLEAN }, 358 base::Value::TYPE_BOOLEAN },
359 { key::kAllowDinosaurEasterEgg, 359 { key::kAllowDinosaurEasterEgg,
360 prefs::kAllowDinosaurEasterEgg, 360 prefs::kAllowDinosaurEasterEgg,
361 base::Value::TYPE_BOOLEAN }, 361 base::Value::TYPE_BOOLEAN },
362 { key::kAllowedDomainsForApps, 362 { key::kAllowedDomainsForApps,
363 prefs::kAllowedDomainsForApps, 363 prefs::kAllowedDomainsForApps,
364 base::Value::TYPE_STRING }, 364 base::Value::TYPE_STRING },
365 { key::kComponentUpdatesEnabled,
366 prefs::kComponentUpdatesEnabled,
367 base::Value::TYPE_BOOLEAN },
365 368
366 #if defined(ENABLE_SPELLCHECK) 369 #if defined(ENABLE_SPELLCHECK)
367 { key::kSpellCheckServiceEnabled, 370 { key::kSpellCheckServiceEnabled,
368 spellcheck::prefs::kSpellCheckUseSpellingService, 371 spellcheck::prefs::kSpellCheckUseSpellingService,
369 base::Value::TYPE_BOOLEAN }, 372 base::Value::TYPE_BOOLEAN },
370 #endif // defined(ENABLE_SPELLCHECK) 373 #endif // defined(ENABLE_SPELLCHECK)
371 374
372 { key::kDisableScreenshots, 375 { key::kDisableScreenshots,
373 prefs::kDisableScreenshots, 376 prefs::kDisableScreenshots,
374 base::Value::TYPE_BOOLEAN }, 377 base::Value::TYPE_BOOLEAN },
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 880 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
878 handlers->AddHandler(base::WrapUnique( 881 handlers->AddHandler(base::WrapUnique(
879 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 882 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
880 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler())); 883 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler()));
881 #endif // defined(OS_CHROMEOS) 884 #endif // defined(OS_CHROMEOS)
882 885
883 return handlers; 886 return handlers;
884 } 887 }
885 888
886 } // namespace policy 889 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/component_updater_prefs.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698