view_id=>stream_id and add some code comments.
This commit is contained in:
parent
e90fd1444f
commit
3aba23b471
8 changed files with 37 additions and 27 deletions
|
@ -24,7 +24,7 @@ class PdfViewerUI : public content::WebUIController,
|
|||
public:
|
||||
PdfViewerUI(content::BrowserContext* browser_context,
|
||||
content::WebUI* web_ui,
|
||||
const std::string& view_id,
|
||||
const std::string& stream_id,
|
||||
const std::string& src);
|
||||
~PdfViewerUI() override;
|
||||
|
||||
|
@ -35,6 +35,7 @@ class PdfViewerUI : public content::WebUIController,
|
|||
private:
|
||||
void OnSaveURLAs(const GURL& url, const content::Referrer& referrer);
|
||||
|
||||
// Source URL from where the PDF originates.
|
||||
std::string src_;
|
||||
std::unique_ptr<content::StreamInfo> stream_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue