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

Unified Diff: headless/public/headless_browser.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/public/headless_browser.cc
diff --git a/headless/public/headless_browser.cc b/headless/public/headless_browser.cc
index cbfbc5e400e682bc6223b5838b2bc252a94a305c..fd45823f73e75ee7343f6449d9d37d57436a6e0f 100644
--- a/headless/public/headless_browser.cc
+++ b/headless/public/headless_browser.cc
@@ -82,6 +82,11 @@ Builder& Builder::SetGLImplementation(const std::string& gl_implementation) {
return *this;
}
+Builder& Builder::SetMojoServiceManifestResourceId(int resource_id) {
+ options_.mojo_service_manifest_resource_id = resource_id;
+ return *this;
+}
+
Builder& Builder::SetUserDataDir(const base::FilePath& user_data_dir) {
options_.user_data_dir = user_data_dir;
return *this;

Powered by Google App Engine
This is Rietveld 408576698