OLD | NEW |
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 #ifndef CONTENT_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ |
6 #define CONTENT_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
13 #include "content/browser/download/download_file.h" | 13 #include "content/browser/download/download_file.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/public/browser/download_id.h" | 15 #include "content/public/browser/download_id.h" |
16 #include "content/public/browser/download_item.h" | 16 #include "content/public/browser/download_item.h" |
17 #include "content/public/browser/download_manager.h" | 17 #include "content/public/browser/download_manager.h" |
18 #include "content/public/common/referrer.h" | 18 #include "content/public/common/referrer.h" |
19 #include "googleurl/src/gurl.h" | |
20 #include "net/base/file_stream.h" | 19 #include "net/base/file_stream.h" |
21 #include "ui/base/dragdrop/download_file_interface.h" | 20 #include "ui/base/dragdrop/download_file_interface.h" |
22 #include "ui/base/ui_export.h" | 21 #include "ui/base/ui_export.h" |
| 22 #include "url/gurl.h" |
23 | 23 |
24 namespace net { | 24 namespace net { |
25 class FileStream; | 25 class FileStream; |
26 } | 26 } |
27 | 27 |
28 namespace content { | 28 namespace content { |
29 | 29 |
30 class DownloadManager; | 30 class DownloadManager; |
31 class WebContents; | 31 class WebContents; |
32 | 32 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 base::RunLoop nested_loop_; | 69 base::RunLoop nested_loop_; |
70 DragDownloadFileUI* drag_ui_; | 70 DragDownloadFileUI* drag_ui_; |
71 base::WeakPtrFactory<DragDownloadFile> weak_ptr_factory_; | 71 base::WeakPtrFactory<DragDownloadFile> weak_ptr_factory_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(DragDownloadFile); | 73 DISALLOW_COPY_AND_ASSIGN(DragDownloadFile); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace content | 76 } // namespace content |
77 | 77 |
78 #endif // CONTENT_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ | 78 #endif // CONTENT_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ |
OLD | NEW |