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

Unified Diff: headless/lib/browser/headless_browser_context_options.cc

Issue 2777783002: Remove user agent from HeadlessBrowserContextOptions. (Closed)
Patch Set: Remove --user-agent flag Created 3 years, 9 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 | « headless/lib/browser/headless_browser_context_options.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_browser_context_options.cc
diff --git a/headless/lib/browser/headless_browser_context_options.cc b/headless/lib/browser/headless_browser_context_options.cc
index f9fa8248e5b57f9fc7f05ccd470f3b29f6409fe9..e31158bdc4c70e88e66666ba15d86d1df9d0ca83 100644
--- a/headless/lib/browser/headless_browser_context_options.cc
+++ b/headless/lib/browser/headless_browser_context_options.cc
@@ -42,7 +42,7 @@ const std::string& HeadlessBrowserContextOptions::product_name_and_version()
}
const std::string& HeadlessBrowserContextOptions::user_agent() const {
- return ReturnOverriddenValue(user_agent_, browser_options_->user_agent);
+ return browser_options_->user_agent;
}
const net::HostPortPair& HeadlessBrowserContextOptions::proxy_server() const {
« no previous file with comments | « headless/lib/browser/headless_browser_context_options.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698