Fix cpplint warnings.
This commit is contained in:
parent
dd38131704
commit
d0ee30101d
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue