| Index: extensions/browser/renderer_startup_helper.cc
|
| diff --git a/extensions/browser/renderer_startup_helper.cc b/extensions/browser/renderer_startup_helper.cc
|
| index c200c27a2dd843ec4e6fa83d24ef74f875f9c21a..d9e167b81b058711521cf94f8ef68991e1200ef8 100644
|
| --- a/extensions/browser/renderer_startup_helper.cc
|
| +++ b/extensions/browser/renderer_startup_helper.cc
|
| @@ -18,6 +18,7 @@
|
| #include "extensions/common/extensions_client.h"
|
| #include "extensions/common/features/feature_channel.h"
|
| #include "extensions/common/features/feature_session_type.h"
|
| +#include "extensions/common/permissions/permissions_data.h"
|
| #include "ui/base/webui/web_ui_util.h"
|
|
|
| using content::BrowserContext;
|
| @@ -91,6 +92,15 @@ void RendererStartupHelper::InitializeProcess(
|
| WebViewGuest::GetPartitionID(process)));
|
| }
|
|
|
| + // Load default policy_blocked_hosts and policy_allowed_hosts settings, part
|
| + // of the ExtensionSettings policy.
|
| + ExtensionMsg_UpdateDefaultPolicyHostRestrictions_Params params;
|
| + params.default_policy_blocked_hosts =
|
| + PermissionsData::default_policy_blocked_hosts();
|
| + params.default_policy_allowed_hosts =
|
| + PermissionsData::default_policy_allowed_hosts();
|
| + process->Send(new ExtensionMsg_UpdateDefaultPolicyHostRestrictions(params));
|
| +
|
| // Loaded extensions.
|
| std::vector<ExtensionMsg_Loaded_Params> loaded_extensions;
|
| const ExtensionSet& extensions =
|
|
|