OLD | NEW |
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_DRAG_DOWNLOAD_FILE_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ |
6 #define CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/memory/linked_ptr.h" | 10 #include "base/memory/linked_ptr.h" |
11 #include "chrome/browser/download/download_file.h" | 11 #include "content/browser/download/download_file.h" |
12 #include "chrome/browser/download/download_item.h" | 12 #include "content/browser/download/download_item.h" |
13 #include "chrome/browser/download/download_manager.h" | 13 #include "content/browser/download/download_manager.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 #include "ui/base/dragdrop/download_file_interface.h" | 15 #include "ui/base/dragdrop/download_file_interface.h" |
16 | 16 |
17 class TabContents; | 17 class TabContents; |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 class FileStream; | 20 class FileStream; |
21 } | 21 } |
22 | 22 |
23 class DragDownloadFile : public ui::DownloadFileProvider, | 23 class DragDownloadFile : public ui::DownloadFileProvider, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 // Access on UI thread. | 107 // Access on UI thread. |
108 DownloadManager* download_manager_; | 108 DownloadManager* download_manager_; |
109 bool download_manager_observer_added_; | 109 bool download_manager_observer_added_; |
110 DownloadItem* download_item_; | 110 DownloadItem* download_item_; |
111 | 111 |
112 DISALLOW_COPY_AND_ASSIGN(DragDownloadFile); | 112 DISALLOW_COPY_AND_ASSIGN(DragDownloadFile); |
113 }; | 113 }; |
114 | 114 |
115 #endif // CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ | 115 #endif // CHROME_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ |
OLD | NEW |