Haojian Wu
|
04f9d35312
|
Modernize to C++11: Use auto key to improve code readability and maintainability.
|
2016-07-10 13:11:47 +02:00 |
|
Cheng Zhao
|
d0719e9b4b
|
Fix cpplint warnings
|
2016-07-04 19:19:20 +09:00 |
|
Cheng Zhao
|
1ba3907038
|
Update to API changes of Chrome 52
|
2016-07-04 15:32:43 +09:00 |
|
Cheng Zhao
|
01bc8305f8
|
Add ses.getUserAgent()/setUserAgent(...) APIs
|
2016-06-22 15:57:51 +09:00 |
|
deepak1556
|
aa853dd3be
|
move protocol to session properties for working with partitions
|
2016-06-09 10:39:18 +05:30 |
|
Cheng Zhao
|
9f858e1243
|
Merge branch 'master' into chrome51
|
2016-05-23 19:49:43 +09:00 |
|
deepak1556
|
f68d0f324f
|
deprecate app.allowNTLMCredentialsForAllDomains
|
2016-05-23 11:44:21 +05:30 |
|
Cheng Zhao
|
a2bd55dd3c
|
Adapt to changes of Chrome 51 API changes (Part 2)
|
2016-05-23 12:29:14 +09:00 |
|
Cheng Zhao
|
7ba391da7c
|
Update to API changes of Chrome 51
|
2016-05-23 10:59:39 +09:00 |
|
Brian R. Bondy
|
2da39d31aa
|
Update to new pref service location in components
|
2016-05-13 11:07:17 +09:00 |
|
deepak1556
|
6dbd2ce243
|
use DownloadItem to determine download initiator
|
2016-04-27 20:29:39 +05:30 |
|
deepak1556
|
46208b5b3e
|
session: dont attach download dialog to deleted webContents window
|
2016-04-27 20:00:31 +05:30 |
|
Cheng Zhao
|
993695af07
|
Remove unneeded cleanup code
|
2016-04-25 10:23:36 +09:00 |
|
Cheng Zhao
|
2ae52d0ff4
|
Make Wrappable a template class
|
2016-04-25 10:17:54 +09:00 |
|
deepak1556
|
b8e04f4947
|
set client id on AtomNetworkDelegate instead of cmd line switch
|
2016-04-18 11:35:24 +05:30 |
|
deepak1556
|
fcf04377d7
|
set network emulation client id in request headers
|
2016-04-18 10:49:00 +05:30 |
|
Cheng Zhao
|
0bf1e56156
|
Update brightray for electron/brightray#212
|
2016-04-18 13:59:15 +09:00 |
|
Paul Betts
|
4503aafe64
|
int32 => int32_t
|
2016-03-10 17:06:21 +09:00 |
|
Cheng Zhao
|
8ff30a2abc
|
Revert "protocol: respect requests from partition"
This reverts commit 85800256de .
|
2016-02-24 13:25:30 +08:00 |
|
Robo
|
85800256de
|
protocol: respect requests from partition
|
2016-02-19 19:39:01 +05:30 |
|
Cheng Zhao
|
f1f91828ba
|
Rely on OnDownloadDestroyed to destroy downloadItem
|
2016-02-02 18:49:43 +08:00 |
|
Cheng Zhao
|
f624800881
|
Merge pull request #4314 from deepak1556/download_cancel_patch
fix crash when default download is canceled
|
2016-02-02 18:40:44 +08:00 |
|
Robo
|
2819af9586
|
fix lifetime of downloadItem class when defaultdownload canceled
|
2016-02-02 15:54:51 +05:30 |
|
Robo
|
ce2ea963b9
|
session: api to clear host resolver cache
|
2016-02-02 02:06:49 +05:30 |
|
Robo
|
045e42a10c
|
fix crash when default download is canceled
|
2016-02-02 00:26:37 +05:30 |
|
Robo
|
ff5fb512b8
|
use mediastreamdevicescontroller from brightray to enumerate available devices
|
2016-02-01 17:45:53 +05:30 |
|
Robo
|
db26dcaf4c
|
expose handler from session and remove permission-request event
|
2016-02-01 12:23:51 +05:30 |
|
Cheng Zhao
|
26350f4ccb
|
GetHttpCacheInIO => DoCacheActionInIO
|
2016-01-14 20:48:14 +08:00 |
|
Robo
|
10e4698baa
|
session: api to get current cache size
|
2016-01-14 17:15:45 +05:30 |
|
Robo
|
8433d94cac
|
session: api to flush DOMStorage data
|
2016-01-13 08:56:00 +05:30 |
|
Cheng Zhao
|
192fa4c86b
|
Cleanup docs and code of setProxy
|
2016-01-11 22:45:34 +08:00 |
|
Robo
|
8557cd223c
|
maintain api compatibility
|
2016-01-11 12:24:01 +05:30 |
|
Robo
|
be50ca2653
|
session: allow user to isolate pac script and proxy bypass rules
|
2016-01-11 03:55:56 +05:30 |
|
Robo
|
13b5cab738
|
session: add webrequest api
|
2015-12-09 20:14:18 +05:30 |
|
Cheng Zhao
|
73e7773d84
|
Update to API changes of Chrome 47
|
2015-12-07 19:56:23 +08:00 |
|
Cheng Zhao
|
a15f9fab5b
|
Use BuildPrototype to build prototype
This saves the step of manually keeping the global template object,
which is easy to forget then leak.
|
2015-12-03 16:04:46 +08:00 |
|
Cheng Zhao
|
6795bd1d96
|
Do not manually manage native resources
We should rely on the destructor to cleanup everything, instead of
putting them in the Destroy method.
|
2015-12-03 15:38:43 +08:00 |
|
Cheng Zhao
|
47d7f2c050
|
Fix cpplint warning
|
2015-11-18 11:45:15 +08:00 |
|
Cheng Zhao
|
c5bfac1969
|
Add session.setCertificateVerifyProc
|
2015-11-18 11:17:08 +08:00 |
|
Cheng Zhao
|
e432abfb42
|
Add certificate-error event
|
2015-11-18 10:39:25 +08:00 |
|
Cheng Zhao
|
961ee5a4d9
|
Rename verify-certificate to untrusted-certificate
|
2015-11-17 21:41:36 +08:00 |
|
Cheng Zhao
|
ebe66daa56
|
Emit verify-certificate only when default verifier fails
|
2015-11-17 21:36:36 +08:00 |
|
Cheng Zhao
|
e3517b701e
|
Create a new CertVerifierRequest for each request
It greatly simplifies the code.
|
2015-11-17 19:44:55 +08:00 |
|
Cheng Zhao
|
217311ef21
|
No need to use weak reference
Ref-counting manages everything.
|
2015-11-17 19:00:33 +08:00 |
|
Robo
|
92c3ee8e16
|
use delegate to notify verification requests
|
2015-11-16 20:45:49 +05:30 |
|
Robo
|
37e6e6fab7
|
emit verify-certificate event for handling verification
|
2015-11-13 06:44:49 +05:30 |
|
Robo
|
d072e61282
|
session: api to allow handling certificate verification
|
2015-11-13 01:27:30 +05:30 |
|
Cheng Zhao
|
75f49477ca
|
Cleanup wrapper function when app has done quitting
The app may still do something when quitting, we need to make sure the
wrapper function is still there at that time.
|
2015-11-04 16:54:36 +08:00 |
|
Robo
|
e9a5d05b27
|
session: allow setproxy to use external pac script
|
2015-10-22 23:03:47 +05:30 |
|
Haojian Wu
|
facd0fbc08
|
Implement webContents.savePage API.
|
2015-10-16 09:23:08 +08:00 |
|
Robo
|
fc7f4ae24b
|
session: api to emulate network conditions
|
2015-09-27 18:55:26 +05:30 |
|
Haojian Wu
|
0861d5d44b
|
Redefine 'will-download' design.
|
2015-09-24 16:04:44 +08:00 |
|
Haojian Wu
|
5ec74451ef
|
Introduce DownloadItem for supporting more downloading features.
|
2015-09-20 18:56:10 +08:00 |
|
Haojian Wu
|
87b9b0bc31
|
Implement session.setOpenDownloadDialog() API.
|
2015-09-20 18:45:34 +08:00 |
|
Cheng Zhao
|
e365cb6b1c
|
No longer needs to define node_includes.h at last
|
2015-09-07 16:41:49 +08:00 |
|
Cheng Zhao
|
e2bd1abce6
|
Make sure BrowserContext is destroyed on exit
|
2015-09-06 10:54:34 +08:00 |
|
Cheng Zhao
|
0b1a3f3ef3
|
Manage the life of BrowserContext in Session
|
2015-09-06 10:54:34 +08:00 |
|
Robo
|
4062ca5f68
|
implement wrapSession
|
2015-09-01 16:50:42 +05:30 |
|
Robo
|
aed487ef40
|
app: add will-download event to defaultSession
|
2015-08-31 12:57:56 +05:30 |
|
Cheng Zhao
|
c295979270
|
BrowserContext::GetRequestContext can only be called on UI thread
|
2015-08-10 15:02:16 +08:00 |
|
Cheng Zhao
|
2ff104d012
|
Move callback converter from native mate to electron
|
2015-08-07 19:35:35 +08:00 |
|
Cheng Zhao
|
0e779e20c3
|
Fix compilation error caused by #2340
|
2015-07-30 10:38:04 +08:00 |
|
Haojian Wu
|
fef53d18c4
|
Add session.setDownloadPath API.
|
2015-07-26 16:51:27 +08:00 |
|
Robo
|
d3055a5ca0
|
session: api to set proxy
|
2015-07-20 15:21:47 +05:30 |
|
Cheng Zhao
|
868dee55de
|
The options of clearStorageData should be optional
|
2015-07-13 15:13:17 -07:00 |
|
Cheng Zhao
|
7dba4d1d8d
|
Call callback of ClearCache after cache is doomed
|
2015-07-13 14:27:07 -07:00 |
|
Robo
|
628fb5f5e9
|
app: api to clear data from different storage types
|
2015-07-10 11:31:30 +05:30 |
|
Cheng Zhao
|
aa20f75335
|
Clean up ResolveProxyHelper
Since the ResolveProxyHelper is deleted after the callback is called,
there is no need to use weak reference.
|
2015-06-26 11:04:12 +08:00 |
|
deepak1556
|
c15a9e7d5c
|
session: using storageparttion to retrieve requestcontext
|
2015-06-25 19:55:57 +05:30 |
|
Cheng Zhao
|
0ebd4d04ad
|
Make Session trackable
|
2015-06-24 15:39:05 +08:00 |
|
Cheng Zhao
|
ea69e91e49
|
Move resolveProxy From app to session
|
2015-06-24 11:59:11 +08:00 |
|
Cheng Zhao
|
33c2768a77
|
Add app.defaultSession
|
2015-06-23 23:40:41 +08:00 |
|
Cheng Zhao
|
1ce86b6dfc
|
win: Fix building, close #2018
|
2015-06-23 10:18:43 +08:00 |
|
Haojian Wu
|
bafbee805c
|
Fix more code styles.
|
2015-06-20 10:41:40 +08:00 |
|
Haojian Wu
|
969916442f
|
Use webContents BrowserContext.
Also fix some code styles.
|
2015-06-19 13:57:54 +08:00 |
|
Haojian Wu
|
99bfc9b7f5
|
Move cookies APIs to webContents.session.cookies namespace.
|
2015-06-19 10:30:08 +08:00 |
|