Fix cpplint warnings.

This commit is contained in:
Haojian Wu 2015-09-20 19:28:33 +08:00
parent dd38131704
commit d0ee30101d
2 changed files with 3 additions and 3 deletions

View file

@ -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();

View file

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