Chromium Code Reviews| 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 4ad1ba638feee4d4cf1e26c56b1bddcb22ef3832..880dd2b71f7ffed086dc56f8d3af1c6b7412fc7a 100644 |
| --- a/content/browser/loader/mojo_async_resource_handler_unittest.cc |
| +++ b/content/browser/loader/mojo_async_resource_handler_unittest.cc |
| @@ -141,11 +141,11 @@ class TestResourceDispatcherHostDelegate final |
| ADD_FAILURE() << "RequestComplete should not be called."; |
| } |
| - bool ShouldEnableLoFiMode( |
| + int GetPreviewsState( |
|
nasko
2016/12/08 22:19:32
PreviewsState
megjablon
2016/12/09 20:35:54
Done.
|
| 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 0; |
|
nasko
2016/12/08 22:19:32
Use the symbolic name - PREVIEWS_UNSPECIFIED or PR
megjablon
2016/12/09 20:35:54
Done.
|
| } |
| NavigationData* GetNavigationData(net::URLRequest* request) const override { |