view_id=>stream_id and add some code comments.

This commit is contained in:
deepak1556 2017-02-03 15:46:23 +05:30
parent e90fd1444f
commit 3aba23b471
8 changed files with 37 additions and 27 deletions

View file

@ -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_;