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

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: -osall, extract_actions.py Created 8 years, 8 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // TODO(rdsmith): Remove when http://crbug.com/85408 is fixed. 250 // TODO(rdsmith): Remove when http://crbug.com/85408 is fixed.
250 // For debugging only. 251 // For debugging only.
251 int64 largest_db_handle_in_history_; 252 int64 largest_db_handle_in_history_;
252 253
253 net::NetLog* net_log_; 254 net::NetLog* net_log_;
254 255
255 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); 256 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl);
256 }; 257 };
257 258
258 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 259 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698