summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_item_model.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 19:56:17 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 19:56:17 +0000
commit11f48572859aca238afeb436d2504c5ffab49f07 (patch)
tree1b31af349eb99a9e83716f5add3273b42bee41cf /chrome/browser/download/download_item_model.h
parentaf530ac147feb1b04446f529daa4cc4448f89b23 (diff)
downloadchromium_src-11f48572859aca238afeb436d2504c5ffab49f07.zip
chromium_src-11f48572859aca238afeb436d2504c5ffab49f07.tar.gz
chromium_src-11f48572859aca238afeb436d2504c5ffab49f07.tar.bz2
Fixes almost all of the rest of lint errors in the chrome/ directory (minus the really hard ones which will need actual review instead of rubber-stamping.)
Review URL: http://codereview.chromium.org/386026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_item_model.h')
-rw-r--r--chrome/browser/download/download_item_model.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/download/download_item_model.h b/chrome/browser/download/download_item_model.h
index 7b25cc2..82d70ec 100644
--- a/chrome/browser/download/download_item_model.h
+++ b/chrome/browser/download/download_item_model.h
@@ -16,7 +16,8 @@ class SavePackage;
// depending on the type of download.
class BaseDownloadItemModel {
public:
- BaseDownloadItemModel(DownloadItem* download) : download_(download) { }
+ explicit BaseDownloadItemModel(DownloadItem* download)
+ : download_(download) { }
virtual ~BaseDownloadItemModel() { }
// Cancel the task corresponding to the item.
@@ -36,7 +37,7 @@ class BaseDownloadItemModel {
// status.
class DownloadItemModel : public BaseDownloadItemModel {
public:
- DownloadItemModel(DownloadItem* download);
+ explicit DownloadItemModel(DownloadItem* download);
virtual ~DownloadItemModel() { }
// Cancel the downloading.