Kevin Sawicki
|
6a829e0179
|
Throw error when options object is invalid
|
2016-12-09 10:07:04 -08:00 |
|
deepak1556
|
35349643af
|
session: api to clear auth cache
|
2016-12-09 09:54:30 -08:00 |
|
deepak1556
|
5d94221c61
|
fix code style
|
2016-12-09 09:37:46 -08:00 |
|
deepak1556
|
f124732431
|
add spec
|
2016-12-09 09:37:46 -08:00 |
|
deepak1556
|
86961d0f44
|
session: add api to create interrupted downloads
|
2016-12-09 09:37:46 -08:00 |
|
deepak1556
|
3de3fb53bd
|
session: reset media device id salt when cookies are cleared
|
2016-12-03 16:44:33 +05:30 |
|
Kevin Sawicki
|
24bcf6ac16
|
Add initial cookie changed event support
|
2016-09-29 09:16:29 -07:00 |
|
deepak1556
|
7b85ca0301
|
create helper class to read blob data
|
2016-09-01 08:52:44 +05:30 |
|
deepak1556
|
5cbc8d5c71
|
fix ambiguous constructor call
|
2016-09-01 01:01:52 +05:30 |
|
deepak1556
|
d2e40d4fc1
|
update api to work on public url and uuid
|
2016-09-01 01:01:52 +05:30 |
|
deepak1556
|
0fb2339e3d
|
session: api to retrieve blob data from uuid
|
2016-09-01 01:01:52 +05:30 |
|
Kevin Sawicki
|
6285500cdc
|
Sort includes alphabetically
|
2016-08-26 15:30:02 -07:00 |
|
Kevin Sawicki
|
0485e9eb36
|
🎨 Go back to single line declaration
|
2016-08-22 16:26:31 -07:00 |
|
Kevin Sawicki
|
ad3dc3766e
|
Default network values to 0.0
|
2016-08-22 14:19:09 -07:00 |
|
Cheng Zhao
|
844f32aa36
|
Set prototype of constructor directly
|
2016-08-02 20:38:35 +09:00 |
|
Cheng Zhao
|
8c3232dc56
|
Every native class now gets a name
|
2016-08-02 19:28:12 +09:00 |
|
Cheng Zhao
|
cb19efe49c
|
Pass FunctionTemplate in BuildPrototype
|
2016-08-02 18:08:12 +09:00 |
|
Cheng Zhao
|
ffed3e9c0c
|
Move the code to native
|
2016-08-01 20:11:17 +09:00 |
|
Cheng Zhao
|
fd8cc63ca9
|
Merge pull request #6558 from deepak1556/session_proxy_patch
session: add proxyBypassRules option to setProxy api
|
2016-07-25 16:03:50 +09:00 |
|
Cheng Zhao
|
b57665330c
|
Merge branch 'master' into chrome52
|
2016-07-21 05:34:36 -06:00 |
|
deepak1556
|
aa6d79a3d8
|
session: add proxyBypassRules option to setProxy api
|
2016-07-21 10:14:54 +05:30 |
|
Cheng Zhao
|
4d46189928
|
Fix cpplint warnings
|
2016-07-15 22:47:40 +09:00 |
|
liusi
|
154daa8d6a
|
make Session::ClearStorageData's callback optional
|
2016-07-15 14:13:56 +08:00 |
|
Cheng Zhao
|
e213e09c3e
|
Add options to session.fromPartition
|
2016-07-13 12:23:14 +09:00 |
|
Cheng Zhao
|
00804e5f98
|
Move the ability to create BrowserContext to embedder
|
2016-07-13 12:23:14 +09:00 |
|
Cheng Zhao
|
400bb8d0f3
|
Hide in_memory parameter in native interface
|
2016-07-13 12:23:14 +09:00 |
|
Cheng Zhao
|
06a41cedab
|
Move check of isReady to native code
|
2016-07-13 12:23:14 +09:00 |
|
Cheng Zhao
|
24c60019b7
|
Create AtomCertVerifier on IO thread
|
2016-07-13 12:05:57 +09:00 |
|
Haojian Wu
|
4ac4dacffe
|
Some manual change to for-ranged loop.
Use "const auto&" where possible.
|
2016-07-10 15:57:51 +02:00 |
|
Haojian Wu
|
55b3f1936f
|
Modernize to C++11: Use for-range loop.
|
2016-07-10 13:33:15 +02:00 |
|
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 |
|