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

Side by Side Diff: content/browser/download/download_item_impl_delegate.cc

Issue 10704052: Download filename determination refactor (3/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with r148594 to and resolve conflicts with r148576 Created 8 years, 4 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "content/browser/download/download_item_impl_delegate.h" 6 #include "content/browser/download/download_item_impl_delegate.h"
7 7
8 class DownloadItemImpl; 8 class DownloadItemImpl;
9 9
10 // Infrastructure in DownloadItemImplDelegate to assert invariant that 10 // Infrastructure in DownloadItemImplDelegate to assert invariant that
(...skipping 26 matching lines...) Expand all
37 void DownloadItemImplDelegate::CheckForFileRemoval( 37 void DownloadItemImplDelegate::CheckForFileRemoval(
38 DownloadItemImpl* download_item) {} 38 DownloadItemImpl* download_item) {}
39 39
40 void DownloadItemImplDelegate::MaybeCompleteDownload( 40 void DownloadItemImplDelegate::MaybeCompleteDownload(
41 DownloadItemImpl* download) {} 41 DownloadItemImpl* download) {}
42 42
43 content::BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const { 43 content::BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const {
44 return NULL; 44 return NULL;
45 } 45 }
46 46
47 DownloadFileManager* DownloadItemImplDelegate::GetDownloadFileManager() {
48 return NULL;
49 }
50
47 void DownloadItemImplDelegate::DownloadStopped(DownloadItemImpl* download) {} 51 void DownloadItemImplDelegate::DownloadStopped(DownloadItemImpl* download) {}
48 52
49 void DownloadItemImplDelegate::DownloadCompleted(DownloadItemImpl* download) {} 53 void DownloadItemImplDelegate::DownloadCompleted(DownloadItemImpl* download) {}
50 54
51 void DownloadItemImplDelegate::DownloadOpened(DownloadItemImpl* download) {} 55 void DownloadItemImplDelegate::DownloadOpened(DownloadItemImpl* download) {}
52 56
53 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} 57 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {}
54 58
55 void DownloadItemImplDelegate::DownloadRenamedToIntermediateName( 59 void DownloadItemImplDelegate::DownloadRenamedToIntermediateName(
56 DownloadItemImpl* download) {} 60 DownloadItemImpl* download) {}
57 61
58 void DownloadItemImplDelegate::DownloadRenamedToFinalName( 62 void DownloadItemImplDelegate::DownloadRenamedToFinalName(
59 DownloadItemImpl* download) {} 63 DownloadItemImpl* download) {}
60 64
61 void DownloadItemImplDelegate::AssertStateConsistent( 65 void DownloadItemImplDelegate::AssertStateConsistent(
62 DownloadItemImpl* download) const {} 66 DownloadItemImpl* download) const {}
OLDNEW
« no previous file with comments | « content/browser/download/download_item_impl_delegate.h ('k') | content/browser/download/download_item_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698