Index: headless/public/headless_browser.h |
diff --git a/headless/public/headless_browser.h b/headless/public/headless_browser.h |
index 4e3ab953bb4cf522e352c5127532899bbaeafe19..a94a90c7541df50567bad71262beff2b6aa2d40c 100644 |
--- a/headless/public/headless_browser.h |
+++ b/headless/public/headless_browser.h |
@@ -74,6 +74,7 @@ struct HeadlessBrowser::Options { |
const char** argv; |
std::string user_agent; |
+ std::string navigator_platform; |
static const int kInvalidPort = -1; |
// If not null, create start devtools for remote debugging |
@@ -81,8 +82,15 @@ struct HeadlessBrowser::Options { |
int devtools_http_port; |
// Optional URLRequestContextGetter for customizing network stack. |
+ // Allows overriding: |
+ // - Cookie storage |
+ // - HTTP cache |
+ // - SSL config |
+ // - Proxy service |
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter; |
+ scoped_ptr<base::MessagePump> message_pump; |
+ |
private: |
Options(int argc, const char** argv); |
}; |