DescriptionMake setting the user agent work with the zygote on linux.
Previously the user agent was set when we set the content client,
which was set in the zygote, which didn't have a command line.
Now, we still set the user agent in the zygote, but if the
--user-agent command line switch is passed, we will reset the
user agent in ZygoteMain.
R=jam@chromium.org
BUG=99418
TEST=run chrome with --user-agent=foo on linux, visit
whatsmyuseragent.com, ensure 'foo' is displayed.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107012
Patch Set 1 #
Total comments: 5
Patch Set 2 : just use setuseragent() #Patch Set 3 : fix formatting #Messages
Total messages: 8 (0 generated)
|