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

Unified Diff: headless/test/headless_browser_test.cc

Issue 2489673005: [headless] Make browser service manifest overlay configurable. (Closed)
Patch Set: v1 load from resource id provided in options. Created 4 years, 1 month 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: headless/test/headless_browser_test.cc
diff --git a/headless/test/headless_browser_test.cc b/headless/test/headless_browser_test.cc
index e259d9ba8440cca826704c19d905567826879d31..090a7045e4927819ae13e8528580dcc02b2bee52 100644
--- a/headless/test/headless_browser_test.cc
+++ b/headless/test/headless_browser_test.cc
@@ -151,6 +151,10 @@ HeadlessBrowser* HeadlessBrowserTest::browser() const {
return HeadlessContentMainDelegate::GetInstance()->browser();
}
+HeadlessBrowser::Options* HeadlessBrowserTest::options() const {
+ return HeadlessContentMainDelegate::GetInstance()->browser()->options();
+}
+
bool HeadlessBrowserTest::WaitForLoad(HeadlessWebContents* web_contents) {
SynchronousLoadObserver load_observer(this, web_contents);
RunAsynchronousTest();

Powered by Google App Engine
This is Rietveld 408576698