update api changes
This commit is contained in:
parent
07835bf4e6
commit
b9710532e1
1 changed files with 4 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue