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

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

Issue 2159283003: [WIP][DO NOT LAND] Componentize spellcheck Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/spellchecker/OWNERS » ('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 <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 29 matching lines...) Expand all
40 #include "components/policy/core/common/policy_map.h" 40 #include "components/policy/core/common/policy_map.h"
41 #include "components/policy/core/common/policy_pref_names.h" 41 #include "components/policy/core/common/policy_pref_names.h"
42 #include "components/policy/core/common/schema.h" 42 #include "components/policy/core/common/schema.h"
43 #include "components/prefs/pref_value_map.h" 43 #include "components/prefs/pref_value_map.h"
44 #include "components/search_engines/default_search_policy_handler.h" 44 #include "components/search_engines/default_search_policy_handler.h"
45 #include "components/signin/core/common/signin_pref_names.h" 45 #include "components/signin/core/common/signin_pref_names.h"
46 #include "components/ssl_config/ssl_config_prefs.h" 46 #include "components/ssl_config/ssl_config_prefs.h"
47 #include "components/sync_driver/sync_policy_handler.h" 47 #include "components/sync_driver/sync_policy_handler.h"
48 #include "components/translate/core/common/translate_pref_names.h" 48 #include "components/translate/core/common/translate_pref_names.h"
49 #include "components/variations/pref_names.h" 49 #include "components/variations/pref_names.h"
50 #include "components/spellcheck/browser/pref_names.h"
50 #include "policy/policy_constants.h" 51 #include "policy/policy_constants.h"
51 52
52 #if BUILDFLAG(ANDROID_JAVA_UI) 53 #if BUILDFLAG(ANDROID_JAVA_UI)
53 #include "chrome/browser/search/contextual_search_policy_handler_android.h" 54 #include "chrome/browser/search/contextual_search_policy_handler_android.h"
54 #endif 55 #endif
55 56
56 #if defined(OS_CHROMEOS) 57 #if defined(OS_CHROMEOS)
57 #include "ash/common/accessibility_types.h" 58 #include "ash/common/accessibility_types.h"
58 #include "chrome/browser/chromeos/platform_keys/key_permissions_policy_handler.h " 59 #include "chrome/browser/chromeos/platform_keys/key_permissions_policy_handler.h "
59 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h " 60 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h "
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 base::Value::TYPE_BOOLEAN }, 353 base::Value::TYPE_BOOLEAN },
353 { key::kAllowDinosaurEasterEgg, 354 { key::kAllowDinosaurEasterEgg,
354 prefs::kAllowDinosaurEasterEgg, 355 prefs::kAllowDinosaurEasterEgg,
355 base::Value::TYPE_BOOLEAN }, 356 base::Value::TYPE_BOOLEAN },
356 { key::kAllowedDomainsForApps, 357 { key::kAllowedDomainsForApps,
357 prefs::kAllowedDomainsForApps, 358 prefs::kAllowedDomainsForApps,
358 base::Value::TYPE_STRING }, 359 base::Value::TYPE_STRING },
359 360
360 #if defined(ENABLE_SPELLCHECK) 361 #if defined(ENABLE_SPELLCHECK)
361 { key::kSpellCheckServiceEnabled, 362 { key::kSpellCheckServiceEnabled,
362 prefs::kSpellCheckUseSpellingService, 363 spellcheck::prefs::kSpellCheckUseSpellingService,
363 base::Value::TYPE_BOOLEAN }, 364 base::Value::TYPE_BOOLEAN },
364 #endif // defined(ENABLE_SPELLCHECK) 365 #endif // defined(ENABLE_SPELLCHECK)
365 366
366 { key::kDisableScreenshots, 367 { key::kDisableScreenshots,
367 prefs::kDisableScreenshots, 368 prefs::kDisableScreenshots,
368 base::Value::TYPE_BOOLEAN }, 369 base::Value::TYPE_BOOLEAN },
369 { key::kAudioCaptureAllowed, 370 { key::kAudioCaptureAllowed,
370 prefs::kAudioCaptureAllowed, 371 prefs::kAudioCaptureAllowed,
371 base::Value::TYPE_BOOLEAN }, 372 base::Value::TYPE_BOOLEAN },
372 { key::kVideoCaptureAllowed, 373 { key::kVideoCaptureAllowed,
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 860 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
860 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 861 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
861 handlers->AddHandler(base::WrapUnique( 862 handlers->AddHandler(base::WrapUnique(
862 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 863 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
863 #endif // defined(OS_CHROMEOS) 864 #endif // defined(OS_CHROMEOS)
864 865
865 return handlers; 866 return handlers;
866 } 867 }
867 868
868 } // namespace policy 869 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/spellchecker/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698