update api changes

This commit is contained in:
deepak1556 2017-02-09 16:30:17 +05:30
parent 07835bf4e6
commit b9710532e1

View file

@ -46,9 +46,9 @@ 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,
void StartDataRequest(
const std::string& path,
const content::ResourceRequestInfo::WebContentsGetter& wc_getter,
const GotDataCallback& callback) override {
std::string filename = PathWithoutParams(path);
auto entry =