mirror of
https://github.com/electron/electron.git
synced 2026-01-26 07:48:08 -05:00
update api changes
This commit is contained in:
@@ -46,10 +46,10 @@ class BundledDataSource : public content::URLDataSource {
|
||||
// content::URLDataSource implementation.
|
||||
std::string GetSource() const override { return kPdfViewerUIHost; }
|
||||
|
||||
void StartDataRequest(const std::string& path,
|
||||
int render_process_id,
|
||||
int render_frame_id,
|
||||
const GotDataCallback& callback) override {
|
||||
void StartDataRequest(
|
||||
const std::string& path,
|
||||
const content::ResourceRequestInfo::WebContentsGetter& wc_getter,
|
||||
const GotDataCallback& callback) override {
|
||||
std::string filename = PathWithoutParams(path);
|
||||
auto entry =
|
||||
path_to_resource_id_.find(base::FilePath::FromUTF8Unsafe(filename));
|
||||
|
||||
Reference in New Issue
Block a user