Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1008)

Unified Diff: content/browser/service_worker/link_header_support_unittest.cc

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: fix ContentResourceProviderTest Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/loader/resource_request_info_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/link_header_support_unittest.cc
diff --git a/content/browser/service_worker/link_header_support_unittest.cc b/content/browser/service_worker/link_header_support_unittest.cc
index 91798028cd09a9698dd52eb6bd9361a36d66000d..ba66b30d0f34a6176ea9e0f5e6883965cfb2597b 100644
--- a/content/browser/service_worker/link_header_support_unittest.cc
+++ b/content/browser/service_worker/link_header_support_unittest.cc
@@ -15,6 +15,7 @@
#include "content/browser/service_worker/service_worker_test_utils.h"
#include "content/common/service_worker/service_worker_utils.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/previews_state.h"
#include "content/public/test/mock_resource_context.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "net/http/http_response_headers.h"
@@ -115,7 +116,7 @@ class LinkHeaderServiceWorkerTest : public ::testing::Test {
-1 /* render_process_id */, -1 /* render_view_id */,
-1 /* render_frame_id */, resource_type == RESOURCE_TYPE_MAIN_FRAME,
false /* parent_is_main_frame */, true /* allow_download */,
- true /* is_async */, false /* is_using_lofi */);
+ true /* is_async */, PREVIEWS_OFF /* previews_state */);
ResourceRequestInfoImpl::ForRequest(request.get())
->set_initiated_in_secure_context_for_testing(true);
« no previous file with comments | « content/browser/loader/resource_request_info_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698