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

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

Issue 2882513005: Propagate opener to BackgroundsContents. (Closed)
Patch Set: . Created 3 years, 7 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) {
ncarter (slow) 2017/05/17 20:45:27 Could you also add a few lines to app_background_p
Łukasz Anforowicz 2017/05/22 17:19:27 Good idea. Done.
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