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

Side by Side Diff: chrome/browser/download/chrome_download_manager_delegate.h

Issue 7631009: Move download_manager_delegate.h to content. I forgot to move this earlier. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « no previous file | chrome/browser/download/download_manager_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_ 6 #define CHROME_BROWSER_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "chrome/browser/download/download_manager_delegate.h" 12 #include "content/browser/download/download_manager_delegate.h"
13 13
14 class DownloadItem; 14 class DownloadItem;
15 class DownloadManager; 15 class DownloadManager;
16 struct DownloadStateInfo; 16 struct DownloadStateInfo;
17 17
18 // Browser's download manager: manages all downloads and destination view. 18 // Browser's download manager: manages all downloads and destination view.
19 class ChromeDownloadManagerDelegate 19 class ChromeDownloadManagerDelegate
20 : public base::RefCountedThreadSafe<ChromeDownloadManagerDelegate>, 20 : public base::RefCountedThreadSafe<ChromeDownloadManagerDelegate>,
21 public DownloadManagerDelegate { 21 public DownloadManagerDelegate {
22 public: 22 public:
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool IsDangerousFile(const DownloadItem& download, 68 bool IsDangerousFile(const DownloadItem& download,
69 const DownloadStateInfo& state, 69 const DownloadStateInfo& state,
70 bool visited_referrer_before); 70 bool visited_referrer_before);
71 71
72 scoped_refptr<DownloadManager> download_manager_; 72 scoped_refptr<DownloadManager> download_manager_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(ChromeDownloadManagerDelegate); 74 DISALLOW_COPY_AND_ASSIGN(ChromeDownloadManagerDelegate);
75 }; 75 };
76 76
77 #endif // CHROME_BROWSER_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_ 77 #endif // CHROME_BROWSER_DOWNLOAD_CHROME_DOWNLOAD_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/download/download_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698