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

Unified Diff: content/shell/shell_download_manager_delegate.h

Issue 11366121: Split DownloadFile::Rename into RenameAndUniquify and RenameAndAnnotate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/shell_download_manager_delegate.h
diff --git a/content/shell/shell_download_manager_delegate.h b/content/shell/shell_download_manager_delegate.h
index e201025ad5492d7d3e1d06aab39bf78b74ccb6c0..3d75eac15c15f15b8b208c5dcf337dd9d95ee955 100644
--- a/content/shell/shell_download_manager_delegate.h
+++ b/content/shell/shell_download_manager_delegate.h
@@ -31,10 +31,13 @@ class ShellDownloadManagerDelegate
void SetDownloadBehaviorForTesting(
const FilePath& default_download_path);
+ protected:
+ // To allow subclasses for testing.
+ virtual ~ShellDownloadManagerDelegate();
+
private:
friend class base::RefCountedThreadSafe<ShellDownloadManagerDelegate>;
- virtual ~ShellDownloadManagerDelegate();
void GenerateFilename(int32 download_id,
const DownloadTargetCallback& callback,

Powered by Google App Engine
This is Rietveld 408576698