Index: headless/public/headless_browser.h |
diff --git a/headless/public/headless_browser.h b/headless/public/headless_browser.h |
index 954b79e0db4609324864c8ef209bbf7db28be0d8..c21bad7b3fc9272ad155987c099c57c8dc087926 100644 |
--- a/headless/public/headless_browser.h |
+++ b/headless/public/headless_browser.h |
@@ -115,6 +115,11 @@ struct HeadlessBrowser::Options { |
// string can be used to disable GL rendering (e.g., WebGL support). |
std::string gl_implementation; |
+ // Resource identifier of a service manifest.json file that includes interface |
+ // provider specs for mojo services that the browser exposes to the renderers. |
+ // For an example, see headless/lib/embedder_test_manifest_overlay.json. |
+ int mojo_service_manifest_resource_id; |
Sami
2016/11/09 18:35:52
Looks uninitialized?
|
+ |
// Default per-context options, can be specialized on per-context basis. |
std::string user_agent; |
@@ -159,6 +164,7 @@ class HeadlessBrowser::Options::Builder { |
Builder& SetSingleProcessMode(bool single_process_mode); |
Builder& SetDisableSandbox(bool disable_sandbox); |
Builder& SetGLImplementation(const std::string& gl_implementation); |
+ Builder& SetMojoServiceManifestResourceId(int resource_id); |
// Per-context settings. |