| Index: extensions/browser/renderer_startup_helper.cc
|
| diff --git a/extensions/browser/renderer_startup_helper.cc b/extensions/browser/renderer_startup_helper.cc
|
| index 55f6509a199e2ef7658982a326552d989d511594..da26e334bde7117e126ab3ca286d99c1a16bd5eb 100644
|
| --- a/extensions/browser/renderer_startup_helper.cc
|
| +++ b/extensions/browser/renderer_startup_helper.cc
|
| @@ -103,8 +103,11 @@ void RendererStartupHelper::InitializeProcess(
|
| // Extensions need to know the channel and the session type for API
|
| // restrictions. The values are sent to all renderers, as the non-extension
|
| // renderers may have content scripts.
|
| - process->Send(new ExtensionMsg_SetSessionInfo(
|
| - GetCurrentChannel(), GetCurrentFeatureSessionType()));
|
| + bool is_lock_screen_context =
|
| + client->IsLockScreenContext(process->GetBrowserContext());
|
| + process->Send(new ExtensionMsg_SetSessionInfo(GetCurrentChannel(),
|
| + GetCurrentFeatureSessionType(),
|
| + is_lock_screen_context));
|
|
|
| // Platform apps need to know the system font.
|
| // TODO(dbeam): this is not the system font in all cases.
|
|
|