deepak1556
aa7255bad5
allow embedder to provide RequireCTDelegate
2016-10-17 16:06:37 +05:30
Kevin Sawicki
67eff02a65
🎨
2016-09-29 08:43:33 -07:00
Kevin Sawicki
cbe92b5fb5
Support configuring a cookie delegate
2016-09-29 08:43:33 -07:00
Kevin Sawicki
c46200761f
Use net::URLRequestContextBuilder::SetHttpNetworkSessionComponents helper
2016-09-28 16:00:23 -07:00
Kevin Sawicki
096d3e61fa
Remove unused instance variables
2016-09-28 11:17:42 -07:00
Kevin Sawicki
14c4b1eabb
Set certificate transparency objects on URLRequestContextStorage
2016-09-28 11:14:18 -07:00
Kevin Sawicki
bffd87c118
Call AddLogs through unique pointer
2016-09-21 10:16:05 -07:00
Kevin Sawicki
39a69467ed
Add verifiers for known logs
2016-09-21 09:48:17 -07:00
Cheng Zhao
d435df77f8
Revert "initialize crypto delegate in CookieStoreConfig"
...
This reverts commit ad1d1dce72c6fcb6c15a18dac04ff382d9bf4db0.
2016-09-19 16:30:16 +09:00
Cheng Zhao
7917aa8938
Merge pull request #246 from deepak1556/cookie_crypto_patch
...
initialize crypto delegate in CookieStoreConfig
2016-09-16 21:26:19 +09:00
Cheng Zhao
676a389ecd
Add new network parameters needed by chrome53
2016-09-07 17:54:55 +09:00
Cheng Zhao
ab14221a85
Fix API changes of Chrome 53
2016-09-06 17:22:52 +09:00
deepak1556
a56c6b1b79
initialize crypto delegate in CookieStoreConfig
2016-09-03 11:05:38 +05:30
Cheng Zhao
900225bb03
Put definetion of GetCookieableSchemes in .cc to match other methods
2016-08-05 16:23:31 +09:00
deepak1556
e96b224307
allow delegate to provide cookieable schemes
2016-08-04 12:21:54 +05:30
deepak1556
826fbf3e21
allow additional schemes that should support cookies
2016-08-03 15:52:09 +05:30
Cheng Zhao
4f3e9df055
Merge remote-tracking branch 'origin/master' into chrome52
2016-07-21 05:34:20 -06:00
Haojian Wu
7474e5ec28
Modernize to C++11 : NULL => nullptr
2016-07-10 12:30:17 +02:00
Cheng Zhao
4e9782897c
Update to API changes of Chrome 52
2016-07-04 15:06:05 +09:00
Cheng Zhao
8eca432b6d
Call on GetUserAgent on UI thread
2016-06-22 15:52:04 +09:00
Cheng Zhao
d37a120a6a
Provide access to JobFactory in URLRequestContextGetter
2016-06-15 20:31:11 +09:00
Cheng Zhao
e23ffd1694
Merge branch 'master' into chrome51
...
Conflicts:
browser/url_request_context_getter.cc
browser/url_request_context_getter.h
2016-05-23 19:46:28 +09:00
Cheng Zhao
851ef398fb
Adapt to changes of Chrome 51 API changes
2016-05-23 10:59:07 +09:00
deepak1556
b8e8e08f63
flags to control iwa enabled server whitelist
2016-05-21 23:40:02 +05:30
deepak1556
e716830671
flag to disable HTTP/2 and SPDY/3.1 protocols
2016-05-18 06:55:05 +05:30
Brian R. Bondy
9d31297d27
Use HttpNetworkSession::Params::enable_http2
...
next_protos is a private member now and HTTP1.1 is always added
2016-05-13 11:07:34 +09:00
deepak1556
de60acbfde
Fix race initialising DevtoolsNetworkController
2016-04-14 08:57:20 +05:30
Cheng Zhao
b68d2ba8b5
Fix compilation error on Windows
2016-03-10 15:56:13 +09:00
Cheng Zhao
5ce6592e1c
Handle nullptr in RequestConextGetter
2016-03-10 14:39:07 +09:00
Cheng Zhao
d3a39540b5
Fix compilation errors on OS X
2016-03-08 23:28:28 +09:00
Cheng Zhao
baf5f384cd
Pass() is deprecated for std::move
2016-03-08 20:59:29 +09:00
Paul Betts
6517dffa04
Start to update UrlRequestContextGetter
2016-03-07 22:58:25 -08:00
deepak1556
43add44f09
add list of next_protos to use
2015-12-08 03:39:05 -05:00
Cheng Zhao
75d0bc848d
Update to API changes of Chrome 47
2015-12-07 19:55:01 +08:00
Eran Tiktin
1a18c3a3af
Add support for --proxy-bypass-list
2015-11-22 22:56:35 +02:00
Robo
3dfb75b530
allow delegate to provide certificate verifier
2015-11-05 20:56:46 +05:30
Paul Betts
5168b44932
Remove our plumbed methods
2015-10-19 12:57:32 -07:00
Paul Betts
0d63eaa07b
Move the NTLM check to the URLRequestContextGetter delegate
2015-10-19 12:57:24 -07:00
Paul Betts
66a14c5eb5
Fallback to default behavior if boolean is false
2015-10-16 16:43:03 -07:00
Paul Betts
d123c8613d
Create a new API to trump IE security settings if desired
2015-10-16 16:40:30 -07:00
Paul Betts
2c21f1a304
Replace the default one with our own
2015-10-16 16:40:07 -07:00
Paul Betts
73a60ea3e3
Create a new URLSecurityManager that allows explicit settings
2015-10-16 16:39:42 -07:00
Cheng Zhao
abe749e6be
💄
2015-10-14 09:47:22 +08:00
Robo
ec6304c0b2
provide request context for nss_oscp initialisation
2015-10-13 18:20:12 +05:30
Robo
b7296d8a4e
set accept-language header from system locale
2015-10-09 13:21:53 +05:30
Robo
a1e646f1b3
enabling network emulation in devtools
2015-09-27 21:38:38 +05:30
Robo
5d9c41c416
allowing delegates to provide their sslconfigservice
2015-09-21 22:14:32 +05:30
Cheng Zhao
38a211db2e
Fix API changes
2015-09-02 15:16:34 +08:00
Robo
fa5c8fc943
handle partition config in browser context
2015-08-27 17:31:31 +05:30
Cheng Zhao
8a92ef34a7
Store NetLog in BrowserClient
2015-08-11 18:29:55 +08:00
Cheng Zhao
89546a9c19
Merge pull request #124 from deepak1556/devtools_network_patch
...
create netlog instance for devtoolsnetlogobserver
2015-07-16 06:35:29 -07:00
Robo
7496cb29fe
create netlog for devtoolsnetlogobserver
2015-07-15 00:54:28 +05:30
Cheng Zhao
6b1e4cc91a
Set user agent from the delegate
2015-07-14 11:37:57 -07:00
Cheng Zhao
8bb0ea438d
Enable override user agent in URLRequestContextGetter
2015-07-14 10:04:34 -07:00
Robo
ca09f32548
adding support for kProxyPacUrl
2015-07-10 13:52:02 +05:30
deepak1556
15255944b6
create net log instance only when needed
2015-06-08 19:19:44 +05:30
deepak1556
33f65ba981
fix crash on quit
2015-06-06 14:33:07 +05:30
deepak1556
ee6b14d1d8
adding support for kLogNetLog switch
2015-06-05 20:25:08 +05:30
Paul Betts
a18e5d7d5c
Come Correct with memory management
2015-05-05 22:35:48 -07:00
Paul Betts
dbe969b5c5
Fix indentation
2015-05-05 22:28:00 -07:00
Paul Betts
9737ba3e37
Explicitly create HttpAuthHandlerFactory
...
The CreateDefault method does not set a URLSecurityManager, so the code will
fall-back to disabling all built-in authentication. Instead, use the default
URLSecurityManager which will use IE Security Zones on Windows to determine
whether a URL is part of the Local Intranet zone or on non-Windows, default
proxy rules will be used (i.e. would a default proxy map vs. connect direct).
2015-05-04 15:49:00 -07:00
Cheng Zhao
90b255f2cd
Fix API changes
2015-04-21 18:54:57 +08:00
Cheng Zhao
5e1a4e1222
Fix url_request_context_getter.cc
2015-03-08 19:54:27 -07:00
Cheng Zhao
dc01ba5a72
scoped_ptr.PassAs is deprecated
2015-02-03 10:57:25 -08:00
Cheng Zhao
0e0079956c
Add support for --ignore-certificate-errors
2015-01-06 20:36:20 -08:00
Cheng Zhao
1166a56ceb
Add a way to custom http cache backend
2015-01-05 13:29:16 -08:00
Cheng Zhao
2c81fb4719
Fix compilation warnings due to API changes
2014-12-09 22:39:44 -08:00
Cheng Zhao
5bec155c81
Adapt to API changes of Chrome 38
2014-10-11 16:38:27 +08:00
Cheng Zhao
f8c8c415eb
Fix cpplint warnings.
2014-08-31 20:05:14 +08:00
Cheng Zhao
dca1c51b32
Fix API changes of Chrome37.
2014-08-31 18:43:01 +08:00
Cheng Zhao
6e420d5137
Cleanup URLRequestContextGetter.
...
In brightray line length limit is 100 so we could make code formatted more
tidy.
2014-08-20 15:26:53 +08:00
Cheng Zhao
3fefdcba0d
Move creation of URLRequestJobFactoryImpl into default delegate.
2014-08-20 14:48:02 +08:00
Cheng Zhao
c30f11f38c
Add Delegate for URLRequestContextGetter.
2014-08-20 14:39:09 +08:00
Cheng Zhao
44bfa328f1
Add --proxy-server switch.
2014-08-20 11:49:18 +08:00
Cheng Zhao
d136c44792
Add --no-proxy-server switch.
2014-08-20 11:44:45 +08:00
Cheng Zhao
8c73e6aba4
Implement --host-resolver-rules switch.
2014-08-15 12:42:11 +08:00
Cheng Zhao
052ddd961f
Implement --host-rules switch.
2014-08-15 12:30:50 +08:00
Cheng Zhao
da3bafd490
Pass parameter by pointers when creating job factory.
...
1. The caller needs to modify protocol_handlers.
2. We need to make sure protocol_handlers and interceptors are not touched
if user doesn't create a job factory.
2014-08-13 17:31:33 +08:00
Cheng Zhao
604361f93d
Pass ProtocolHandlerScopedVector by value.
2014-08-13 16:16:01 +08:00
Cheng Zhao
3f9f778274
Clean handlers when custom job factory is used.
2014-08-13 16:05:22 +08:00
Cheng Zhao
2d03c983e4
Give user a chance to create custom URLRequestJobFactory.
2014-08-13 15:48:16 +08:00
Cheng Zhao
d01aa51686
using content::BrowserThread
2014-08-13 15:11:23 +08:00
Adam Roben
f65246b3cd
Fix coding style
2014-07-07 14:27:02 -04:00
Adam Roben
8f2a2e19b5
Really fix unused-variable warnings
...
I misunderstood how ALLOW_UNUSED is meant to be used. Using a macro like
MSV_WARNING_SUPPRESS() would be nice, but for some reason it isn't working for
me. So now we just manually reference the variable in the code.
2014-07-07 14:21:40 -04:00
Adam Roben
5b2a62627e
Silence unused variable warning on Windows
2014-07-07 13:55:10 -04:00
Adam Roben
51ac56e4c4
Update cookie store code for Chrome 35
...
See https://codereview.chromium.org/110883017
2014-06-27 11:54:28 -04:00
Adam Roben
5b788476a5
Update for move of string symbols into base::
2014-06-27 11:54:27 -04:00
Adam Roben
42b86242ea
Add support for Chrome 35's "protocol interceptors"
...
See https://codereview.chromium.org/187223003
2014-06-27 11:54:27 -04:00
Adam Roben
c4935acbb1
Fix debug assertions about transport_security_state
...
This code was added to content_shell in
https://chromiumcodereview.appspot.com/16501002 and we never picked it up.
2014-01-30 09:01:23 -05:00
Adam Roben
dcaaeacfe3
Fix assertions in Debug builds about using NetworkDelegate on the wrong thread
...
We have to create it on the IO thread.
2014-01-30 08:36:54 -05:00
Cheng Zhao
b1dc139e4b
Set the proxy service a bit earlier to avoid crash.
2013-12-15 15:00:52 +08:00
Cheng Zhao
0a1f756ca6
Use "ProxyResolverV8" instead of "SystemProxyResolver" as proxy service.
...
SystemProxyResolver is untested and could cause random crashes.
2013-12-05 02:56:28 -08:00
Adam Roben
ab8cb1e3a5
Update for changes to content::CreatePersistentCookieStore in Chrome 31
...
I just copied how Chrome initializes this object.
2013-12-02 13:00:39 -05:00
Adam Roben
cfeddb5bcb
Update for changes to net::FileProtocolHandler in Chrome 31
...
I just copied the way that Chrome initializes this object.
2013-12-02 13:00:39 -05:00
Adam Roben
57ae05b636
Fix cpplint errors in url_request_context_getter.cc
2013-11-17 18:11:47 -05:00
Adam Roben
4d6ee2c416
URLRequestContextStorage::set_http_server_properties takes a scoped_ptr in Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=212466 .
2013-10-07 16:31:58 -04:00
Adam Roben
1e99ec9aed
Update #includes for moves of string-related headers
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=205050 .
2013-10-07 16:31:57 -04:00
Adam Roben
7d3f371b51
Update for move of MessageLoop into base namespace
2013-08-23 16:56:41 -04:00
Adam Roben
33b574b434
Allow clients to supply their own NetworkDelegate implementation
2013-07-17 10:21:33 -04:00
Cheng Zhao
27d55031f4
Set file and data protocol handler.
2013-06-02 00:25:04 +08:00