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

Side by Side Diff: content/public/browser/download_manager_delegate.cc

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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/public/browser/download_manager_delegate.h" 5 #include "content/public/browser/download_manager_delegate.h"
6 6
7 #include "content/public/browser/download_id.h" 7 #include "content/public/browser/download_id.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 DownloadManagerDelegate::~DownloadManagerDelegate() {
12 }
13
11 DownloadId DownloadManagerDelegate::GetNextId() { 14 DownloadId DownloadManagerDelegate::GetNextId() {
12 return DownloadId::Invalid(); 15 return DownloadId::Invalid();
13 } 16 }
14 17
15 bool DownloadManagerDelegate::ShouldStartDownload(int32 download_id) { 18 bool DownloadManagerDelegate::ShouldStartDownload(int32 download_id) {
16 return true; 19 return true;
17 } 20 }
18 21
19 FilePath DownloadManagerDelegate::GetIntermediatePath( 22 FilePath DownloadManagerDelegate::GetIntermediatePath(
20 const FilePath& suggested_path) { 23 const FilePath& suggested_path) {
(...skipping 16 matching lines...) Expand all
37 40
38 bool DownloadManagerDelegate::ShouldOpenDownload(DownloadItem* item) { 41 bool DownloadManagerDelegate::ShouldOpenDownload(DownloadItem* item) {
39 return true; 42 return true;
40 } 43 }
41 44
42 bool DownloadManagerDelegate::GenerateFileHash() { 45 bool DownloadManagerDelegate::GenerateFileHash() {
43 return false; 46 return false;
44 } 47 }
45 48
46 } // namespace content 49 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/download_manager_delegate.h ('k') | content/public/browser/save_page_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698