refactor: fix chromium-style in url_request_asar_job (#13284)

This commit is contained in:
Jeremy Apthorp 2018-06-19 08:31:55 -07:00 committed by Charles Kerr
parent e177117fa5
commit 9e8f83e25c
2 changed files with 4 additions and 0 deletions

View file

@ -32,6 +32,8 @@
namespace asar {
URLRequestAsarJob::FileMetaInfo::FileMetaInfo() = default;
URLRequestAsarJob::URLRequestAsarJob(net::URLRequest* request,
net::NetworkDelegate* network_delegate)
: net::URLRequestJob(request, network_delegate), weak_ptr_factory_(this) {}

View file

@ -87,6 +87,8 @@ class URLRequestAsarJob : public net::URLRequestJob {
bool is_directory = false;
// Path to the file.
base::FilePath file_path;
FileMetaInfo();
};
// Fetches file info on a background thread.