Some cleanup.
This commit is contained in:
parent
1879392c7b
commit
06cc133959
2 changed files with 5 additions and 4 deletions
|
@ -28,10 +28,13 @@ class DownloadItem : public mate::EventEmitter,
|
|||
base::FilePath path_;
|
||||
};
|
||||
|
||||
explicit DownloadItem(content::DownloadItem* download_item);
|
||||
~DownloadItem();
|
||||
static mate::Handle<DownloadItem> Create(v8::Isolate* isolate,
|
||||
content::DownloadItem* item);
|
||||
static void* UserDataKey();
|
||||
|
||||
protected:
|
||||
explicit DownloadItem(content::DownloadItem* download_item);
|
||||
~DownloadItem();
|
||||
|
||||
// Override content::DownloadItem::Observer methods
|
||||
void OnDownloadUpdated(content::DownloadItem* download) override;
|
||||
|
@ -49,7 +52,6 @@ class DownloadItem : public mate::EventEmitter,
|
|||
const GURL& GetUrl();
|
||||
void SetSavePath(const base::FilePath& path);
|
||||
|
||||
static void* UserDataKey();
|
||||
private:
|
||||
// mate::Wrappable:
|
||||
mate::ObjectTemplateBuilder GetObjectTemplateBuilder(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue