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

Unified Diff: headless/lib/browser/headless_browser_context_impl.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 | « no previous file | headless/lib/browser/headless_browser_context_options.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_browser_context_impl.cc
diff --git a/headless/lib/browser/headless_browser_context_impl.cc b/headless/lib/browser/headless_browser_context_impl.cc
index 29c9da3f7472a1d45aad41708837a88bf816916e..2f4ebd08e2cdb03735fcdc102f016266c4ffc160 100644
--- a/headless/lib/browser/headless_browser_context_impl.cc
+++ b/headless/lib/browser/headless_browser_context_impl.cc
@@ -313,12 +313,6 @@ HeadlessBrowserContext::Builder::SetProtocolHandlers(
return *this;
}
-HeadlessBrowserContext::Builder& HeadlessBrowserContext::Builder::SetUserAgent(
- const std::string& user_agent) {
- options_->user_agent_ = user_agent;
- return *this;
-}
-
HeadlessBrowserContext::Builder&
HeadlessBrowserContext::Builder::SetProductNameAndVersion(
const std::string& product_name_and_version) {
« no previous file with comments | « no previous file | headless/lib/browser/headless_browser_context_options.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698