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
Adam Roben
2582e8561c
Update to Chromium r202921
...
* vendor/libchromiumcontent 0d02a8d...2f53a96 (1):
> Merge pull request #14 from brightray/latest-chromium
2013-05-30 15:07:32 -04:00
Adam Roben
d07c45080d
Don't use range-based for loops
...
VS2010 doesn't support them :-(
2013-05-16 09:15:57 -04:00
Adam Roben
80cb76355c
Update to latest libchromiumcontent
...
* vendor/libchromiumcontent b6a0d85...0d607ee (3):
> Stop trying to compile SQLitePersistentCookieStore separately
> Update to latest Chromium trunk revision
> Merge pull request #4 from aroben/atom
2013-04-17 23:27:53 -04:00
Adam Roben
4fc0fed081
Persist cookies to disk
...
We use Chrome's SQLitePersistentCookieStore to save cookies to a file called
"Cookies" within the application support directory.
Fixes #5 .
2013-03-27 08:55:38 -04:00
Adam Roben
3cda49b894
Update to latest libchromiumcontent
2013-03-21 15:18:25 -04:00