Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: content/browser/download/download_manager_impl.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 15 matching lines...) Expand all
26 namespace content { 26 namespace content {
27 class DownloadFileFactory; 27 class DownloadFileFactory;
28 class DownloadItemFactory; 28 class DownloadItemFactory;
29 class DownloadItemImpl; 29 class DownloadItemImpl;
30 30
31 class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager, 31 class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
32 private DownloadItemImplDelegate { 32 private DownloadItemImplDelegate {
33 public: 33 public:
34 // Caller guarantees that |net_log| will remain valid 34 // Caller guarantees that |net_log| will remain valid
35 // for the lifetime of DownloadManagerImpl (until Shutdown() is called). 35 // for the lifetime of DownloadManagerImpl (until Shutdown() is called).
36 DownloadManagerImpl(net::NetLog* net_log); 36 explicit DownloadManagerImpl(net::NetLog* net_log);
37 37
38 // Implementation functions (not part of the DownloadManager interface). 38 // Implementation functions (not part of the DownloadManager interface).
39 39
40 // Creates a download item for the SavePackage system. 40 // Creates a download item for the SavePackage system.
41 // Must be called on the UI thread. Note that the DownloadManager 41 // Must be called on the UI thread. Note that the DownloadManager
42 // retains ownership. 42 // retains ownership.
43 virtual DownloadItemImpl* CreateSavePackageDownloadItem( 43 virtual DownloadItemImpl* CreateSavePackageDownloadItem(
44 const FilePath& main_file_path, 44 const FilePath& main_file_path,
45 const GURL& page_url, 45 const GURL& page_url,
46 const std::string& mime_type, 46 const std::string& mime_type,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 DownloadManagerDelegate* delegate_; 158 DownloadManagerDelegate* delegate_;
159 159
160 net::NetLog* net_log_; 160 net::NetLog* net_log_;
161 161
162 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); 162 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl);
163 }; 163 };
164 164
165 } // namespace content 165 } // namespace content
166 166
167 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 167 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/dom_storage/dom_storage_message_filter.h ('k') | content/browser/download/download_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698