Marshall Greenblatt
4592cba19f
Fix command-line override of the User-Agent product component (see issue #2622 ).
...
When the NetworkService is enabled the U-A string is configured via
SystemNetworkContextManager::CreateDefaultNetworkContextParams, which calls
chrome_content_browser_client.cc GetUserAgent(). This change modifies the Chrome
implementation to match CEF, so that the U-A product component can still be
overridden via the `--product-version` command-line flag.
To test: Verify that chrome://version, navigator.userAgent (JS executed from
DevTools console) and network requests (headers shown in DevTools Network tab)
show the expected User-Agent value in the following cases:
- Running `cefclient --enable-network-service --user-agent="<value>"`
- Running `cefclient --enable-network-service --product-version="<value>"`
2019-05-02 14:06:54 -04:00
..
2019-04-16 14:38:48 +00:00
2019-05-01 17:10:52 -04:00
2019-01-18 11:25:51 +01:00
2019-04-23 22:53:28 -04:00
2019-04-30 17:16:42 -04:00
2019-05-01 17:10:52 -04:00
2019-04-23 22:53:28 -04:00
2019-04-23 22:53:28 -04:00
2019-04-29 11:33:04 -04:00
2019-02-04 11:16:53 -05:00
2019-04-23 22:53:28 -04:00
2019-03-07 17:09:54 -05:00
2019-03-07 17:09:54 -05:00
2019-03-07 17:09:54 -05:00
2019-03-07 17:09:54 -05:00
2018-10-25 12:57:05 -04:00
2018-02-02 17:44:08 -05:00
2019-04-23 22:53:28 -04:00
2019-04-23 22:53:28 -04:00
2019-04-23 22:53:28 -04:00
2019-04-23 22:53:28 -04:00
2018-03-22 16:56:23 -04:00
2019-04-16 14:38:48 +00:00
2017-10-26 15:58:57 -04:00
2019-03-13 21:27:37 +00:00
2018-05-04 10:50:26 +02:00
2019-05-02 13:33:44 -04:00
2019-03-24 16:45:06 -04:00
2017-10-26 15:58:57 -04:00
2017-10-26 15:58:57 -04:00
2019-03-13 21:27:37 +00:00
2019-03-13 21:27:37 +00:00
2019-03-18 21:07:02 +00:00
2018-09-26 13:10:49 +02:00
2019-04-23 22:53:28 -04:00
2018-10-04 12:17:26 +03:00
2018-01-03 16:14:29 -05:00
2017-05-18 12:30:05 +02:00
2017-05-18 12:30:05 +02:00
2019-04-26 17:17:26 -04:00
2019-03-24 16:45:07 -04:00
2019-01-18 11:25:51 +01:00
2019-03-24 16:45:06 -04:00
2016-11-08 16:56:11 -08:00
2018-12-26 19:15:28 +02:00
2018-10-04 12:17:26 +03:00
2019-05-02 14:06:54 -04:00
2019-05-01 17:10:52 -04:00
2017-05-18 12:30:05 +02:00
2017-05-18 12:30:05 +02:00
2019-04-26 13:22:07 -07:00
2019-03-24 16:47:00 -04:00
2018-03-22 16:56:23 -04:00
2018-03-22 16:56:23 -04:00
2019-05-01 17:10:52 -04:00
2019-05-01 17:10:52 -04:00
2017-08-25 18:40:32 -04:00
2019-03-13 21:27:37 +00:00
2018-12-04 14:45:37 -05:00
2018-10-25 12:57:05 -04:00
2018-10-04 12:17:26 +03:00
2017-11-30 18:20:24 -05:00
2017-11-30 18:20:24 -05:00
2018-10-25 12:57:05 -04:00
2017-05-18 12:30:05 +02:00
2019-02-11 17:50:03 -05:00
2018-03-22 16:56:23 -04:00
2017-05-18 12:30:05 +02:00
2019-03-13 21:27:37 +00:00
2019-02-01 16:42:40 +00:00
2019-03-13 21:27:37 +00:00
2019-03-13 21:27:37 +00:00
2019-02-25 12:09:54 -05:00
2017-05-18 12:30:05 +02:00
2016-04-28 12:57:08 -04:00
2019-01-29 17:53:11 +00:00
2017-09-07 17:29:47 -04:00
2019-02-01 16:42:40 +00:00
2016-09-02 13:01:33 +03:00
2017-05-18 12:30:05 +02:00
2013-04-18 17:58:23 +00:00
2018-05-16 11:23:34 +03:00
2017-05-18 12:30:05 +02:00
2017-05-18 12:30:05 +02:00
2018-05-04 10:50:26 +02:00
2019-04-23 22:53:28 -04:00
2019-04-23 22:53:28 -04:00
2019-04-30 17:16:42 -04:00
2019-04-30 17:16:42 -04:00
2019-03-13 21:27:37 +00:00
2019-04-23 22:53:28 -04:00
2017-05-18 12:30:05 +02:00
2019-04-16 14:38:48 +00:00
2019-04-16 14:38:48 +00:00
2018-10-04 12:17:26 +03:00
2018-06-19 15:49:32 -04:00
2018-06-19 15:49:32 -04:00
2018-06-19 15:49:32 -04:00
2016-10-27 14:04:48 -04:00
2016-09-02 13:01:33 +03:00
2016-10-27 14:04:48 -04:00
2016-10-20 16:54:25 -04:00
2017-05-19 11:11:18 +02:00
2017-05-18 12:30:05 +02:00
2019-03-13 21:27:37 +00:00
2017-05-18 12:30:05 +02:00
2018-10-04 12:17:26 +03:00
2016-05-25 08:10:01 -07:00
2018-10-04 12:17:26 +03:00
2017-05-18 12:30:05 +02:00
2017-05-18 12:30:05 +02:00
2016-09-02 13:01:33 +03:00
2018-02-19 17:38:04 -05:00
2017-07-28 18:30:34 -04:00
2017-05-19 11:11:18 +02:00
2017-05-18 12:30:05 +02:00
2017-05-19 11:11:18 +02:00
2017-05-18 12:30:05 +02:00