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

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

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make win bot happy Created 8 years, 6 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 #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 #include "content/public/browser/download_item.h" 8 #include "content/public/browser/download_item.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 DownloadManagerDelegate::~DownloadManagerDelegate() {
13 }
14
15 DownloadId DownloadManagerDelegate::GetNextId() { 12 DownloadId DownloadManagerDelegate::GetNextId() {
16 return DownloadId::Invalid(); 13 return DownloadId::Invalid();
17 } 14 }
18 15
19 bool DownloadManagerDelegate::ShouldStartDownload(int32 download_id) { 16 bool DownloadManagerDelegate::ShouldStartDownload(int32 download_id) {
20 return true; 17 return true;
21 } 18 }
22 19
23 FilePath DownloadManagerDelegate::GetIntermediatePath( 20 FilePath DownloadManagerDelegate::GetIntermediatePath(
24 const DownloadItem& item, 21 const DownloadItem& item,
(...skipping 18 matching lines...) Expand all
43 } 40 }
44 41
45 bool DownloadManagerDelegate::ShouldOpenDownload(DownloadItem* item) { 42 bool DownloadManagerDelegate::ShouldOpenDownload(DownloadItem* item) {
46 return true; 43 return true;
47 } 44 }
48 45
49 bool DownloadManagerDelegate::GenerateFileHash() { 46 bool DownloadManagerDelegate::GenerateFileHash() {
50 return false; 47 return false;
51 } 48 }
52 49
50 DownloadManagerDelegate::~DownloadManagerDelegate() {}
51
53 } // namespace content 52 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/download_manager_delegate.h ('k') | content/public/browser/profiler_subscriber.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698