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

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: 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 #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
14 DownloadId DownloadManagerDelegate::GetNextId() { 11 DownloadId DownloadManagerDelegate::GetNextId() {
15 return DownloadId::Invalid(); 12 return DownloadId::Invalid();
16 } 13 }
17 14
18 bool DownloadManagerDelegate::ShouldStartDownload(int32 download_id) { 15 bool DownloadManagerDelegate::ShouldStartDownload(int32 download_id) {
19 return true; 16 return true;
20 } 17 }
21 18
22 FilePath DownloadManagerDelegate::GetIntermediatePath( 19 FilePath DownloadManagerDelegate::GetIntermediatePath(
23 const FilePath& suggested_path) { 20 const FilePath& suggested_path) {
(...skipping 17 matching lines...) Expand all
41 } 38 }
42 39
43 bool DownloadManagerDelegate::ShouldOpenDownload(DownloadItem* item) { 40 bool DownloadManagerDelegate::ShouldOpenDownload(DownloadItem* item) {
44 return true; 41 return true;
45 } 42 }
46 43
47 bool DownloadManagerDelegate::GenerateFileHash() { 44 bool DownloadManagerDelegate::GenerateFileHash() {
48 return false; 45 return false;
49 } 46 }
50 47
48 DownloadManagerDelegate::~DownloadManagerDelegate() {}
49
51 } // namespace content 50 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698