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

Unified Diff: headless/test/headless_browser_test.h

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.h
diff --git a/headless/test/headless_browser_test.h b/headless/test/headless_browser_test.h
index 8b6cb75e52a6ad8750c9608feb96d26f65fca133..c787859eb5b84c5f4a03f41809cef22bae8c37b5 100644
--- a/headless/test/headless_browser_test.h
+++ b/headless/test/headless_browser_test.h
@@ -80,6 +80,10 @@ class HeadlessBrowserTest : public content::BrowserTestBase {
// Returns the browser for the test.
HeadlessBrowser* browser() const;
+ // Returns the options used by the browser. Modify with caution, since some
+ // options only take effect if they were set before browser creation.
+ HeadlessBrowser::Options* options() const;
+
private:
std::unique_ptr<base::RunLoop> run_loop_;

Powered by Google App Engine
This is Rietveld 408576698