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

Unified Diff: headless/public/headless_browser.h

Issue 1491593004: Add some more headless API feature placeholders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments. Created 4 years, 11 months 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
« no previous file with comments | « no previous file | headless/public/web_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | headless/public/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698