Jeremy Apthorp
b8774374a8
Fixed reporting for iframe ugprade-insecure-requests upgrades
...
https://chromium-review.googlesource.com/c/chromium/src/+/1096360
2018-10-09 14:38:00 -07:00
Robo
6e5dd735f6
refactor: enable weak ptr unwrap sequence dcheck ( #14816 )
...
* refactor: enable weak ptr unwrap sequence dcheck
* spec: remove WeakPtrDeathTest.* from disabled list
2018-10-05 15:29:57 -05:00
Charles Kerr
d663b4eaee
fix: fix gn cpplint warnings ( #14583 )
...
* chore: fix cpplint 'include_what_you_use' warnings
Typically by including <memory>, <utility> etc.
* chore: fix 'static/global string constant' warning
Use C style strings instead of std::string.
Style guide forbids non-trivial static / global variables. https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
/home/charles/electron/electron-gn/src/electron/script/cpplint.js
* refactor: remove global string variables.
Fix 'global string variables are not permitted' linter warnings
by using the base::NoDestructor<> wrapper to make it explicit that
these variables are never destroyed.
The style guide's take on globals with nontrivial destructors:
https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
* fix: initializer error introduced in last commit
* fix: remove WIP file that was included by accident
* fix: include order
* fix: include order
* fix: include order
* fix: include order, again
2018-09-12 19:25:56 -05:00
Jeremy Apthorp
9e8f83e25c
refactor: fix chromium-style in url_request_asar_job ( #13284 )
2018-06-19 10:31:55 -05:00
Milan Burda
2337237d58
Refactoring: use C++11 class member variable initialization
2018-05-22 00:18:38 +02:00
Robo
ff571f3b5d
Part I: Move from base::Bind to base::BindOnce and remove unneeded base::Passed ( #12661 )
2018-04-20 19:55:05 +09:00
Jeremy Apthorp
e6695cf2ec
[chromium-style] override / virtual warnings
2018-04-19 11:12:10 -07:00
Shelley Vohr
c6f4bbd143
also format missing .cc files
2018-04-18 20:48:45 -04:00
Samuel Attard
12066a60f3
make_scoped_refptr --> WrapRefCounted
2018-03-20 10:08:58 +03:00
Robo
792837bd71
net: change mime type deduction in Change URLRequestAsarJob ( #12319 )
2018-03-16 16:48:26 +09:00
deepak1556
d29c27dc78
REVIEW: obtain mime type from file path only on IO allowed sequence
2018-01-02 16:37:09 +09:00
Cheng Zhao
4e2cb549c7
Notify net error asyncronously
...
Notifying net error syncronously would result in crash.
2017-08-02 11:14:06 +09:00
Cheng Zhao
c0697d8abe
SetupFilter is replaced with SetUpSourceStream
2017-02-06 10:34:28 -08:00
deepak1556
bd291b9601
protocol: respect range header when reading from asar
2016-09-08 10:14:49 +05:30
Cheng Zhao
b57665330c
Merge branch 'master' into chrome52
2016-07-21 05:34:36 -06: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
Haojian Wu
fab02809c6
Modernize to C++11: NULL => nullptr.
...
No functional change.
2016-07-10 11:57:04 +02:00
Cheng Zhao
1ba3907038
Update to API changes of Chrome 52
2016-07-04 15:32:43 +09:00
Cheng Zhao
7ba391da7c
Update to API changes of Chrome 51
2016-05-23 10:59:39 +09:00
Cheng Zhao
5fae63a2f5
Fix compilation errors on OS X
2016-03-10 17:06:21 +09:00
Robo
855d49100f
protocol: api to register schemes that can handle service worker
2015-12-09 03:11:58 +05:30
Cheng Zhao
53b9d61831
Fix building on Windows
2015-09-03 20:07:29 +08:00
Cheng Zhao
45491ca7ab
Fix API changes
2015-09-03 17:50:23 +09:00
Cheng Zhao
225321b580
Make the completion callback optional
2015-08-12 21:32:52 +08:00
Cheng Zhao
d2681d2ba1
Implement protocol.registerFileProtocol
2015-08-12 15:22:19 +08:00
Cheng Zhao
b5a8cfb704
Recognize asar archive with unpacked files
2015-03-20 20:34:58 +08:00
Cheng Zhao
98a7f08be2
Move GetAsarArchivePath to asar_util.h
2015-02-12 17:31:14 +08:00
Cheng Zhao
3b3a025ed4
Move GetsOrCreateAsarArchive to asar_util.h
2015-02-12 17:23:49 +08:00
Cheng Zhao
43421aedcf
OVERRIDE macro is now removed
2015-01-27 13:18:30 -08:00
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
Cheng Zhao
32dff999a5
Fix API changes of Chrome 38
2014-10-11 19:11:34 +08:00
Cheng Zhao
c49a44f944
Remove unneeded ArchiveFactory.
2014-09-25 21:54:59 +08:00
Cheng Zhao
4006b6407c
Just use plain pointer for weak reference.
2014-09-25 20:38:12 +08:00
Cheng Zhao
7081f7799b
Separate the archive cache out to ArchiveFactory.
2014-09-23 22:31:45 +08:00
Cheng Zhao
b6583635d4
Caching the Archive object.
2014-09-23 21:48:40 +08:00
Cheng Zhao
b01db4aa09
Send file content in asar://
2014-09-23 20:30:07 +08:00
Cheng Zhao
6d712da7e3
Read the archive's header when there is a url request
2014-09-23 19:14:30 +08:00
Cheng Zhao
9b71117171
Add asar:// protocol handler.
2014-09-23 12:13:46 +08:00