std::vector<std::unique_ptr<policy::ConfigurationPolicyProvider>>
ChromeBrowserPolicyConnector::CreatePolicyProviders() {
auto providers = BrowserPolicyConnector::CreatePolicyProviders();
+ if (cef::IsChromeRuntimeEnabled())
+ {
+ std::unique_ptr<CommandLinePolicyProvider> command_line_provider =
+ CommandLinePolicyProvider::CreateForTesting(
+ base::CommandLine::ForCurrentProcess());
+ );
+ command_line_provider_ = command_line_provider.get();
+ providers.push_back(std::move(command_line_provider));
+ return providers;
+ }
std::unique_ptr<ConfigurationPolicyProvider> platform_provider =
CreatePlatformProvider();
...
Return to Feature Request Forum
Users browsing this forum: No registered users and 115 guests