8000 read files from asar archives in custom protocol by deepak1556 · Pull Request #1199 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

read files from asar archives in custom protocol #1199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2015

Conversation

deepak1556
Copy link
Member

fixes #1069

base::SequencedWorkerPool::SKIP_ON_SHUTDOWN));
} else {
typedef std::shared_ptr<asar::Archive> asar_ptr;
asar_ptr archive = asar::GetOrCreateAsarArchive(asar_path);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use auto here if you don't want to type long type name.

@deepak1556 deepak1556 force-pushed the protocol_asar_patch branch from 3d76f9d to 2ce42af Compare March 5, 2015 03:56
@deepak1556
Copy link
Member Author

Fixed lint , thanks!

real_job_ = new net::URLRequestErrorJob(
request(),
network_delegate(),
net::ERR_FILE_NOT_FOUND);
Copy link
M 8000 ember Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had to change this way to fix cpplint warning of 80 characters :(

@zcbenz
Copy link
Contributor
zcbenz commented Mar 5, 2015

Thanks!

zcbenz added a commit that referenced this pull request Mar 5, 2015
read files from asar archives in custom protocol
@zcbenz zcbenz merged commit bb0e68e into electron:master Mar 5, 2015
zcbenz added a commit that referenced this pull request Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can not load files in asar archives in custom protocols
2 participants
0