mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
Fix cpplint warnings.
This commit is contained in:
@@ -41,11 +41,11 @@ void DownloadItem::OnDownloadDestroyed(content::DownloadItem* download) {
|
||||
|
||||
bool DownloadItem::IsDestroyed() const {
|
||||
return download_item_ == nullptr;
|
||||
};
|
||||
}
|
||||
|
||||
void DownloadItem::Destroy() {
|
||||
download_item_ = nullptr;
|
||||
};
|
||||
}
|
||||
|
||||
int64 DownloadItem::GetReceivedBytes() {
|
||||
return download_item_->GetReceivedBytes();
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace api {
|
||||
class DownloadItem : public mate::TrackableObject<DownloadItem>,
|
||||
public content::DownloadItem::Observer {
|
||||
public:
|
||||
DownloadItem(content::DownloadItem* download_item);
|
||||
explicit DownloadItem(content::DownloadItem* download_item);
|
||||
~DownloadItem();
|
||||
static mate::Handle<DownloadItem> Create(v8::Isolate* isolate,
|
||||
content::DownloadItem* item);
|
||||
|
||||
Reference in New Issue
Block a user