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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robo 
								
							 
						 
						
							
							
								
							
							
	9989195f19  
						 
						
							
							
								
								
								fix: notify request context shutdown on IO before cleanup ( #14058 )  
							
							
							
						 
						
							2018-08-14 14:07:53 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles Kerr 
								
							 
						 
						
							
							
								
							
							
	b9490177da  
						 
						
							
							
								
								
								Revert "[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear  ( #13956 )"  
							
							... 
							
							
							
							This reverts commit 1c0bb06d4a 
							
						 
						
							2018-08-13 16:16:04 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robo 
								
							 
						 
						
							
							
								
							
							
	1c0bb06d4a  
						 
						
							
							
								
								
								[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear  ( #13956 )  
							
							... 
							
							
							
							* refactor: desttroy URLRequestContextGetter on IO thread
* Accepts a factory class that can customize the creation of URLRequestContext
* Use a separate request context for media which is derived from the default
* Notify URLRequestContextGetter observers and cleanup on IO thread
* Move most of brightray net/ classes into atom net/
* refactor: remove refs to URLRequestContextGetter on shutdown
* refactor: remove brigtray switches.{cc|h}
* refactor: remove brightray network_delegate.{cc|h}
* refactor: make AtomURLRequestJobFactory the top level factory.
* Allows to use the default handler from content/ for http{s}, ws{s} schemes.
* Removes the storage of job factory in URLRequestContextGetter. 
							
						 
						
							2018-08-13 15:22:45 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Milan Burda 
								
							 
						 
						
							
							
								
							
							
	28fd571d0c  
						 
						
							
							
								
								
								refactoring: use std::make_unique<T> ( #13245 )  
							
							
							
						 
						
							2018-06-18 16:32:55 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jeremy Apthorp 
								
							 
						 
						
							
							
								
							
							
	e6695cf2ec  
						 
						
							
							
								
								
								[chromium-style] override / virtual warnings  
							
							
							
						 
						
							2018-04-19 11:12:10 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jeremy Apthorp 
								
							 
						 
						
							
							
								
							
							
	a635f078c6  
						 
						
							
							
								
								
								[chromium-style] auto variable type must not deduce to a raw pointer type  
							
							
							
						 
						
							2018-04-19 11:10:52 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Shelley Vohr 
								
							 
						 
						
							
							
								
							
							
	
	
	53bdf22c85 
 
						 
						
							
							
								
								
								clang-format atom files  
							
							
							
						 
						
							2018-04-18 20:48:45 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robo 
								
							 
						 
						
							
							
								
							
							
	171230e45d  
						 
						
							
							
								
								
								Cleanup destruction of URLRequestContextGetter ( #12305 )  
							
							... 
							
							
							
							- Add Leak detector
 - Indicate shutdown of request context from Browser Context
 - Change stored references to URLRequestContextGetter to use BrowserContext
 - Destroy session properties explicitly 
							
						 
						
							2018-03-30 08:24:55 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Thiago de Arruda 
								
							 
						 
						
							
							
								
							
							
	bc76f35691  
						 
						
							
							
								
								
								Fix protocol filtering of net.request  
							
							... 
							
							
							
							net::URLRequest inherits from base::SupportsUserData, which allows
associating arbitrary data with the request. Use this mechanism as a
condition for filtering requests from custom protocols.
Close  #11657  
							
						 
						
							2018-02-16 13:03:53 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Thiago de Arruda 
								
							 
						 
						
							
							
								
							
							
	6b2ddc4814  
						 
						
							
							
								
								
								Stop allowing electron.net requests to be intercepted.  
							
							... 
							
							
							
							Not very useful to intercept requests from `electron.net`, since both the
interception machinery and `electron.net` live in the browser process. 
							
						 
						
							2017-11-13 15:20:46 -03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kevin Sawicki 
								
							 
						 
						
							
							
								
							
							
	cac85d2a12  
						 
						
							
							
								
								
								Remove linter errors  
							
							
							
						 
						
							2016-12-12 12:51:48 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Paul Frazee 
								
							 
						 
						
							
							
								
							
							
	9d2e23413e  
						 
						
							
							
								
								
								add {secure:} opt to protocol.registerStandardSchemes  
							
							
							
						 
						
							2016-12-12 12:49:57 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kevin Sawicki 
								
							 
						 
						
							
							
								
							
							
	6285500cdc  
						 
						
							
							
								
								
								Sort includes alphabetically  
							
							
							
						 
						
							2016-08-26 15:30:02 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	a14b2c1cf8  
						 
						
							
							
								
								
								Remove AtomBrowserContext::SetCookieableSchemes  
							
							... 
							
							
							
							The standard schemes are already stored, we don't have to duplicate the
list for every session. 
							
						 
						
							2016-08-05 16:35:37 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	cb19efe49c  
						 
						
							
							
								
								
								Pass FunctionTemplate in BuildPrototype  
							
							
							
						 
						
							2016-08-02 18:08:12 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	627028e3a0  
						 
						
							
							
								
								
								Clear protocol handlers on exit  
							
							
							
						 
						
							2016-07-09 17:02:55 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	fe0e17d1c3  
						 
						
							
							
								
								
								Make api::Protocol thread safe  
							
							
							
						 
						
							2016-06-16 11:09:52 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	659384383e  
						 
						
							
							
								
								
								Avoid storing JobFactory in BrowserContext  
							
							... 
							
							
							
							JobFactory should always be created and accessed in IO thread. 
							
						 
						
							2016-06-16 11:09:51 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	9372d4df32  
						 
						
							
							
								
								
								Make sure BrowserContext is deleted after Protocol  
							
							
							
						 
						
							2016-06-16 11:09:51 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									deepak1556 
								
							 
						 
						
							
							
								
							
							
	aa853dd3be  
						 
						
							
							
								
								
								move protocol to session properties for working with partitions  
							
							
							
						 
						
							2016-06-09 10:39:18 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									deepak1556 
								
							 
						 
						
							
							
								
							
							
	0e0235407b  
						 
						
							
							
								
								
								fill net::URLRequest details on IO thread  
							
							
							
						 
						
							2016-06-09 10:39:18 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	7ba391da7c  
						 
						
							
							
								
								
								Update to API changes of Chrome 51  
							
							
							
						 
						
							2016-05-23 10:59:39 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									deepak1556 
								
							 
						 
						
							
							
								
							
							
	70dac71639  
						 
						
							
							
								
								
								delay protocol object creation  
							
							
							
						 
						
							2016-05-08 16:44:14 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									deepak1556 
								
							 
						 
						
							
							
								
							
							
	0f2ae385ed  
						 
						
							
							
								
								
								allow protocol module initialization before app ready.  
							
							... 
							
							
							
							* ensure registerStandardSchemes can only be called before app ready
 * ensure other protocol methods can only be used after app ready 
							
						 
						
							2016-05-08 01:36:34 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	2ae52d0ff4  
						 
						
							
							
								
								
								Make Wrappable a template class  
							
							
							
						 
						
							2016-04-25 10:17:54 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	5fae63a2f5  
						 
						
							
							
								
								
								Fix compilation errors on OS X  
							
							
							
						 
						
							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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robo 
								
							 
						 
						
							
							
								
							
							
	855d49100f  
						 
						
							
							
								
								
								protocol: api to register schemes that can handle service worker  
							
							
							
						 
						
							2015-12-09 03:11:58 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	93bbc0bca9  
						 
						
							
							
								
								
								Don't reference RequestContextGetter in JS objects  
							
							... 
							
							
							
							V8 doesn't guarrentee the C++ class of JS objects will get destroyed, so
this will result in RequestContextGetter never getting freed 
							
						 
						
							2015-09-09 19:27:28 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	467ba6b7a9  
						 
						
							
							
								
								
								Rename protocol.isHandledProtocol to protocol.isProtocolHandled  
							
							
							
						 
						
							2015-08-13 21:29:23 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	741c8f3d98  
						 
						
							
							
								
								
								Implement protocol.uninterceptProtocol  
							
							
							
						 
						
							2015-08-13 20:19:02 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	773e932e98  
						 
						
							
							
								
								
								Implement protocol.interceptProtocol  
							
							
							
						 
						
							2015-08-13 20:10:05 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	374d83ed9c  
						 
						
							
							
								
								
								Implement protocol.isHandledProtocol  
							
							
							
						 
						
							2015-08-13 19:33:53 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	05fd81ebdc  
						 
						
							
							
								
								
								Implement protocol.unregisterProtocol  
							
							
							
						 
						
							2015-08-13 19:26:18 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	d9b845fcdf  
						 
						
							
							
								
								
								Make session parameter work with null value  
							
							
							
						 
						
							2015-08-12 22:57:25 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	225321b580  
						 
						
							
							
								
								
								Make the completion callback optional  
							
							
							
						 
						
							2015-08-12 21:32:52 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	96d53d279e  
						 
						
							
							
								
								
								Initial implementation of new protocol API  
							
							
							
						 
						
							2015-08-12 13:30:19 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	0644129fbe  
						 
						
							
							
								
								
								Pass net::URLRequestContextGetter in scoped_refptr  
							
							
							
						 
						
							2015-08-10 15:28:18 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robo 
								
							 
						 
						
							
							
								
							
							
	c56b3425a9  
						 
						
							
							
								
								
								read/write protocol handler map in IO  
							
							
							
						 
						
							2015-07-10 09:33:36 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robo 
								
							 
						 
						
							
							
								
							
							
	2cd5fb5694  
						 
						
							
							
								
								
								add compatibility will old api  
							
							
							
						 
						
							2015-07-09 14:48:58 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Robo 
								
							 
						 
						
							
							
								
							
							
	da00329d78  
						 
						
							
							
								
								
								protocol: cleanup  
							
							
							
						 
						
							2015-07-09 14:48:58 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	49e1316f7f  
						 
						
							
							
								
								
								Merge pull request  #1970  from deepak1556/scheme_patch  
							
							... 
							
							
							
							protocol: api to register custom schemes to standard schemes 
							
						 
						
							2015-06-19 16:16:46 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	923296b4ee  
						 
						
							
							
								
								
								Use the BrowserContext from protocol  
							
							
							
						 
						
							2015-06-18 17:18:11 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	b47fae7393  
						 
						
							
							
								
								
								Make api::Protocol per-context  
							
							
							
						 
						
							2015-06-18 16:59:03 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									deepak1556 
								
							 
						 
						
							
							
								
							
							
	663a48ee38  
						 
						
							
							
								
								
								protocol: api to register custom schemes to standard schemes  
							
							
							
						 
						
							2015-06-17 14:43:04 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	132c13a11b  
						 
						
							
							
								
								
								Fix calls to deprecated node::ThrowError API  
							
							
							
						 
						
							2015-06-10 14:21:09 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	d78efe7c22  
						 
						
							
							
								
								
								Use Local instead of Handle  
							
							
							
						 
						
							2015-05-22 19:11:22 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kevin Sawicki 
								
							 
						 
						
							
							
								
							
							
	b6b6fc3bfd  
						 
						
							
							
								
								
								Remove All Rights Reserved after GitHub copyright  
							
							... 
							
							
							
							Closes  #762  
						
							2014-10-31 11:17:05 -07:00