| Index: content/browser/loader/mojo_async_resource_handler_unittest.cc
|
| diff --git a/content/browser/loader/mojo_async_resource_handler_unittest.cc b/content/browser/loader/mojo_async_resource_handler_unittest.cc
|
| index 953095aa69f18c80317277b6394f9fdf57e54ef7..bf7e108d58b2bf0b4afaaf80fc7236cf795fbbea 100644
|
| --- a/content/browser/loader/mojo_async_resource_handler_unittest.cc
|
| +++ b/content/browser/loader/mojo_async_resource_handler_unittest.cc
|
| @@ -26,6 +26,7 @@
|
| #include "content/public/browser/resource_dispatcher_host_delegate.h"
|
| #include "content/public/browser/resource_throttle.h"
|
| #include "content/public/browser/stream_info.h"
|
| +#include "content/public/common/previews_state.h"
|
| #include "content/public/common/resource_response.h"
|
| #include "content/public/common/resource_type.h"
|
| #include "content/public/test/test_browser_context.h"
|
| @@ -142,11 +143,11 @@ class TestResourceDispatcherHostDelegate final
|
| ADD_FAILURE() << "RequestComplete should not be called.";
|
| }
|
|
|
| - bool ShouldEnableLoFiMode(
|
| + PreviewsState GetPreviewsState(
|
| const net::URLRequest& url_request,
|
| content::ResourceContext* resource_context) override {
|
| - ADD_FAILURE() << "ShouldEnableLoFiMode should not be called.";
|
| - return false;
|
| + ADD_FAILURE() << "GetPreviewsState should not be called.";
|
| + return PREVIEWS_UNSPECIFIED;
|
| }
|
|
|
| NavigationData* GetNavigationData(net::URLRequest* request) const override {
|
| @@ -336,7 +337,7 @@ class MojoAsyncResourceHandlerTestBase {
|
| false, // parent_is_main_frame
|
| false, // allow_download
|
| true, // is_async
|
| - false // is_using_lofi
|
| + PREVIEWS_OFF // previews_state
|
| );
|
|
|
| ResourceRequest request;
|
|
|