Move GetUserAgent from ContentClient to ContentBrowserClient

1352086
This commit is contained in:
deepak1556 2019-01-22 00:02:34 +05:30
parent abec938b0a
commit e1502f6953
9 changed files with 42 additions and 42 deletions

View file

@ -183,7 +183,8 @@ void CommonWebContentsDelegate::InitWithWebContents(
#if BUILDFLAG(ENABLE_PRINTING)
PrintPreviewMessageHandler::CreateForWebContents(web_contents);
printing::PrintViewManagerBasic::CreateForWebContents(web_contents);
printing::CreateCompositeClientIfNeeded(web_contents);
printing::CreateCompositeClientIfNeeded(web_contents,
browser_context->GetUserAgent());
#endif
// Determien whether the WebContents is offscreen.