Revert of Add source column to chrome://policy showing the origins of policies. ...
commitc8778b84c83b210d60046b538e9d16cfc1f534cd
authordgrogan <dgrogan@chromium.org>
Fri, 18 Sep 2015 21:30:15 +0000 (18 14:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Sep 2015 21:30:56 +0000 (18 21:30 +0000)
tree154dde58b86a981aa551968bbd8786401ec1dc72
parent60dcd47179f859b54ef549bd9074289a3c3e59be
Revert of Add source column to chrome://policy showing the origins of policies. (patchset #18 id:620001 of https://codereview.chromium.org/1304843004/ )

Reason for revert:
Fix google chrome compile. http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64/builds/4220/steps/compile/logs/stdio

../../chrome/browser/ui/startup/startup_browser_creator_browsertest.cc:1235:23:error:
too few arguments to function call, expected 6, have 5
                  NULL);
                      ^
../../components/policy/core/common/policy_map.h:66:3: note: 'Set' declared here
  void Set(const std::string& policy,
  ^

Original issue's description:
> Add source column to chrome://policy showing the origins of policies.
>
> These are the possible sources for a policy:
> Cloud - Policy values received from the cloud.
> Platform - Local configured policies.
> Enterprise Default - Defaults for policies in enterprise environments
>                      on Chrome OS. Can be overridden.
> Enterprise Override - Policies enforced in enterprise environments on
>                       Chrome OS. Can NOT be overridden.
>
> The source of a policy is determined when it's first set. For cloud
> policies, this would be the decoding of the protocol buffers.
> Platform policies are usually set by loading platform-specific local
> configurations like entries in the Windows registry.
> Enterprise defaults are automatically set if the device is active in
> an enterprise environment.
> Enterprise override policies are set within the code to enforce
> specific behaviors (like ash tray visibility). They cannot be
> overridden.
>
> BUG=506123
> TBR=jam@chromium.org
>
> Committed: https://crrev.com/92e7960f06c2ac2ec0113bb88df3d322f0eb97fe
> Cr-Commit-Position: refs/heads/master@{#349654}
>
> Committed: https://crrev.com/2c4ce2a1988fdde3456e49112eba6c7855ca4528
> Cr-Commit-Position: refs/heads/master@{#349749}

TBR=tnagel@chromium.org,bartfab@chromium.org,dbeam@chromium.org,jam@chromium.org,fhorschig@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=506123

Review URL: https://codereview.chromium.org/1350913006

Cr-Commit-Position: refs/heads/master@{#349774}
93 files changed:
build/ios/grit_whitelist.txt
chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
chrome/browser/chromeos/login/saml/saml_browsertest.cc
chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc
chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc
chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc
chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc
chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc
chrome/browser/chromeos/policy/device_local_account_policy_provider.cc
chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc
chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc
chrome/browser/chromeos/policy/login_profile_policy_provider.cc
chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc
chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc
chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc
chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
chrome/browser/download/download_dir_policy_handler_unittest.cc
chrome/browser/extensions/api/certificate_provider/certificate_provider_apitest.cc
chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_apitest.cc
chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc
chrome/browser/extensions/api/management/management_browsertest.cc
chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc
chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc
chrome/browser/extensions/api/storage/policy_value_store_unittest.cc
chrome/browser/extensions/api/storage/settings_apitest.cc
chrome/browser/extensions/extension_management_test_util.cc
chrome/browser/extensions/policy_handlers_unittest.cc
chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc
chrome/browser/net/proxy_policy_handler_unittest.cc
chrome/browser/policy/cloud/cloud_policy_browsertest.cc
chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc
chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc
chrome/browser/policy/javascript_policy_handler_unittest.cc
chrome/browser/policy/managed_bookmarks_policy_handler_unittest.cc
chrome/browser/policy/policy_browsertest.cc
chrome/browser/policy/policy_network_browsertest.cc
chrome/browser/policy/policy_prefs_browsertest.cc
chrome/browser/policy/policy_startup_browsertest.cc
chrome/browser/policy/profile_policy_connector_unittest.cc
chrome/browser/prefs/proxy_policy_unittest.cc
chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc
chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc
chrome/browser/resources/policy.html
chrome/browser/resources/policy.js
chrome/browser/search/contextual_search_policy_handler_android_unittest.cc
chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc
chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc
chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
chrome/browser/ui/webui/options/certificate_manager_browsertest.cc
chrome/browser/ui/webui/options/preferences_browsertest.cc
chrome/browser/ui/webui/policy_ui.cc
chrome/browser/ui/webui/policy_ui_browsertest.cc
components/policy/core/browser/android/policy_converter.cc
components/policy/core/browser/autofill_policy_handler_unittest.cc
components/policy/core/browser/configuration_policy_handler_unittest.cc
components/policy/core/browser/configuration_policy_pref_store_unittest.cc
components/policy/core/browser/url_blacklist_policy_handler_unittest.cc
components/policy/core/common/async_policy_provider_unittest.cc
components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
components/policy/core/common/cloud/component_cloud_policy_store.cc
components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc
components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc
components/policy/core/common/cloud/user_cloud_policy_manager_unittest.cc
components/policy/core/common/config_dir_policy_loader.cc
components/policy/core/common/config_dir_policy_loader_unittest.cc
components/policy/core/common/configuration_policy_provider_test.cc
components/policy/core/common/configuration_policy_provider_test.h
components/policy/core/common/generate_policy_source_unittest.cc
components/policy/core/common/policy_bundle_unittest.cc
components/policy/core/common/policy_loader_ios.mm
components/policy/core/common/policy_loader_ios_unittest.mm
components/policy/core/common/policy_loader_mac.mm
components/policy/core/common/policy_loader_mac_unittest.cc
components/policy/core/common/policy_loader_win.cc
components/policy/core/common/policy_loader_win_unittest.cc
components/policy/core/common/policy_map.cc
components/policy/core/common/policy_map.h
components/policy/core/common/policy_map_unittest.cc
components/policy/core/common/policy_service_impl.cc
components/policy/core/common/policy_service_impl_unittest.cc
components/policy/core/common/policy_statistics_collector_unittest.cc
components/policy/core/common/policy_types.h
components/policy/core/common/proxy_policy_provider_unittest.cc
components/policy/core/common/schema_map_unittest.cc
components/policy/core/common/schema_registry_tracking_policy_provider_unittest.cc
components/policy/tools/generate_policy_source.py
components/policy_strings.grdp
components/search_engines/default_search_policy_handler_unittest.cc
components/sync_driver/sync_policy_handler_unittest.cc
remoting/host/policy_watcher_unittest.cc
tools/gritsettings/resource_ids