- Electron version: 1.4.3
- Operating system:  @win7
- description:

working on a download app with electron and angular. 
By using webContents.downloadUrl, webContents.session.on('will-download', handler) I can make download function work well, however, I could not find a api to save download progress before closing electron app so that I can restore download when this app is started next time.

Excepted Result:
1. user click 'download' button to download a 1G file.
2. after 500M is downloaded, user quit the app
3. one hour later, user open this app again, and downloading can automatically be restored

atom/browser/api/atom_api_session.cc
const scoped_refptr<net::URLRequestContextGetter>& context_getter,
    Session::CacheAction action,
    const net::CompletionCallback& callback) {
  auto request_context = context_getter->GetURLRequestContext();
  auto http_cache = request_context->http_transaction_factory()->GetCache();
  if (!http_cache)
    RunCallbackInUI<int>(callback, net::ERR_FAILED);
  
  using BackendPtr = disk_cache::Backend*;
  auto* backend_ptr = new BackendPtr(nullptr);
  net::CompletionCallback on_get_backend =
      base::Bind(&OnGetBackend, base::Owned(backend_ptr), action, callback);
  int rv = http_cache->GetBackend(backend_ptr, on_get_backend);
  if (rv != net::ERR_IO_PENDING)
    on_get_backend.Run(net::OK);
}
void SetProxyInIO(net::URLRequestContextGetter* getter,