| Index: chrome/browser/previews/previews_infobar_tab_helper.cc
|
| diff --git a/chrome/browser/previews/previews_infobar_tab_helper.cc b/chrome/browser/previews/previews_infobar_tab_helper.cc
|
| index e9996064f4762bcce866364e98d4f567fa385d6d..7dcd7d3c606cbc3a0bd21e31d9e6140ec27e7a59 100644
|
| --- a/chrome/browser/previews/previews_infobar_tab_helper.cc
|
| +++ b/chrome/browser/previews/previews_infobar_tab_helper.cc
|
| @@ -104,7 +104,7 @@ void PreviewsInfoBarTabHelper::DidFinishNavigation(
|
| DataReductionProxyChromeSettingsFactory::GetForBrowserContext(
|
| web_contents()->GetBrowserContext());
|
| PreviewsInfoBarDelegate::Create(
|
| - web_contents(), PreviewsInfoBarDelegate::OFFLINE,
|
| + web_contents(), previews::PreviewsType::OFFLINE,
|
| data_reduction_proxy_settings &&
|
| data_reduction_proxy_settings->IsDataReductionProxyEnabled(),
|
| base::Bind(&AddPreviewNavigationCallback, browser_context_,
|
| @@ -119,7 +119,7 @@ void PreviewsInfoBarTabHelper::DidFinishNavigation(
|
| navigation_handle->GetResponseHeaders();
|
| if (headers && data_reduction_proxy::IsLitePagePreview(*headers)) {
|
| PreviewsInfoBarDelegate::Create(
|
| - web_contents(), PreviewsInfoBarDelegate::LITE_PAGE,
|
| + web_contents(), previews::PreviewsType::LITE_PAGE,
|
| true /* is_data_saver_user */,
|
| base::Bind(&AddPreviewNavigationCallback, browser_context_,
|
| navigation_handle->GetRedirectChain()[0],
|
|
|