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

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

Issue 10069014: Save Page As MHTML (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 7 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 5
6 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 6 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
7 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 7 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
8 #pragma once 8 #pragma once
9 9
10 #include <map> 10 #include <map>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual int InProgressCount() const OVERRIDE; 74 virtual int InProgressCount() const OVERRIDE;
75 virtual content::BrowserContext* GetBrowserContext() const OVERRIDE; 75 virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
76 virtual FilePath LastDownloadPath() OVERRIDE; 76 virtual FilePath LastDownloadPath() OVERRIDE;
77 virtual net::BoundNetLog CreateDownloadItem( 77 virtual net::BoundNetLog CreateDownloadItem(
78 DownloadCreateInfo* info, 78 DownloadCreateInfo* info,
79 const DownloadRequestHandle& request_handle) OVERRIDE; 79 const DownloadRequestHandle& request_handle) OVERRIDE;
80 virtual content::DownloadItem* CreateSavePackageDownloadItem( 80 virtual content::DownloadItem* CreateSavePackageDownloadItem(
81 const FilePath& main_file_path, 81 const FilePath& main_file_path,
82 const GURL& page_url, 82 const GURL& page_url,
83 bool is_otr, 83 bool is_otr,
84 const std::string& mime_type,
84 content::DownloadItem::Observer* observer) OVERRIDE; 85 content::DownloadItem::Observer* observer) OVERRIDE;
85 virtual void ClearLastDownloadPath() OVERRIDE; 86 virtual void ClearLastDownloadPath() OVERRIDE;
86 virtual void FileSelected(const FilePath& path, int32 download_id) OVERRIDE; 87 virtual void FileSelected(const FilePath& path, int32 download_id) OVERRIDE;
87 virtual void FileSelectionCanceled(int32 download_id) OVERRIDE; 88 virtual void FileSelectionCanceled(int32 download_id) OVERRIDE;
88 virtual void RestartDownload(int32 download_id) OVERRIDE; 89 virtual void RestartDownload(int32 download_id) OVERRIDE;
89 virtual void CheckForHistoryFilesRemoval() OVERRIDE; 90 virtual void CheckForHistoryFilesRemoval() OVERRIDE;
90 virtual content::DownloadItem* GetDownloadItem(int id) OVERRIDE; 91 virtual content::DownloadItem* GetDownloadItem(int id) OVERRIDE;
91 virtual void SavePageDownloadFinished( 92 virtual void SavePageDownloadFinished(
92 content::DownloadItem* download) OVERRIDE; 93 content::DownloadItem* download) OVERRIDE;
93 virtual content::DownloadItem* GetActiveDownloadItem(int id) OVERRIDE; 94 virtual content::DownloadItem* GetActiveDownloadItem(int id) OVERRIDE;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 246
246 // Allows an embedder to control behavior. Guaranteed to outlive this object. 247 // Allows an embedder to control behavior. Guaranteed to outlive this object.
247 content::DownloadManagerDelegate* delegate_; 248 content::DownloadManagerDelegate* delegate_;
248 249
249 net::NetLog* net_log_; 250 net::NetLog* net_log_;
250 251
251 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); 252 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl);
252 }; 253 };
253 254
254 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 255 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698