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

Unified Diff: components/offline_pages/content/background_loader/background_loader_contents_unittest.cc

Issue 2882513005: Propagate opener to BackgroundsContents. (Closed)
Patch Set: Tweaked the comment in DriveWebContentsManager::ShouldCreateWebContents Created 3 years, 6 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: components/offline_pages/content/background_loader/background_loader_contents_unittest.cc
diff --git a/components/offline_pages/content/background_loader/background_loader_contents_unittest.cc b/components/offline_pages/content/background_loader/background_loader_contents_unittest.cc
index 3a31cce519025db801b04ed56ba2ec410071fa63..3cfae2c2bc1024d2a548b0ca63fb3ab196f1c7ce 100644
--- a/components/offline_pages/content/background_loader/background_loader_contents_unittest.cc
+++ b/components/offline_pages/content/background_loader/background_loader_contents_unittest.cc
@@ -96,9 +96,9 @@ TEST_F(BackgroundLoaderContentsTest, CannotDownload) {
TEST_F(BackgroundLoaderContentsTest, ShouldNotCreateWebContents) {
ASSERT_FALSE(contents()->ShouldCreateWebContents(
- nullptr /* contents */, nullptr /* source_site_instance */,
- 0 /* route_id */, 0 /* main_frame_route_id */,
- 0 /* main_frame_widget_route_id */,
+ nullptr /* contents */, nullptr /* opener */,
+ nullptr /* source_site_instance */, 0 /* route_id */,
+ 0 /* main_frame_route_id */, 0 /* main_frame_widget_route_id */,
content::mojom::WindowContainerType::NORMAL /* window_container_type */,
GURL() /* opener_url */, "foo" /* frame_name */,
GURL::EmptyGURL() /* target_url */, "bar" /* partition_id */,

Powered by Google App Engine
This is Rietveld 408576698