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

Unified Diff: chrome/browser/data_usage/tab_id_annotator_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
Index: chrome/browser/data_usage/tab_id_annotator_unittest.cc
diff --git a/chrome/browser/data_usage/tab_id_annotator_unittest.cc b/chrome/browser/data_usage/tab_id_annotator_unittest.cc
index cee54639239258b6ad78e9893f82ce9cd9bf4c92..822213b5864d9dee3e72d88a83689bc3ca08825c 100644
--- a/chrome/browser/data_usage/tab_id_annotator_unittest.cc
+++ b/chrome/browser/data_usage/tab_id_annotator_unittest.cc
@@ -24,6 +24,7 @@
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/resource_request_info.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/common/previews_state.h"
#include "net/base/network_change_notifier.h"
#include "net/base/request_priority.h"
#include "net/url_request/url_request.h"
@@ -106,7 +107,8 @@ void TestAnnotateOnIOThread(base::RunLoop* ui_run_loop,
// values are used for all the other args.
content::ResourceRequestInfo::AllocateForTesting(
request.get(), content::RESOURCE_TYPE_MAIN_FRAME, nullptr,
- render_process_id, -1, render_frame_id, true, false, true, true, false);
+ render_process_id, -1, render_frame_id, true, false, true, true,
+ content::PREVIEWS_OFF);
}
// An invalid tab ID to check that the annotator always sets the tab ID. -2 is

Powered by Google App Engine
This is Rietveld 408576698