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 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/file_path.h" | 9 #include "base/file_path.h" |
11 #include "base/memory/linked_ptr.h" | 10 #include "base/memory/linked_ptr.h" |
12 #include "content/browser/download/download_file.h" | 11 #include "content/browser/download/download_file.h" |
13 #include "content/public/browser/download_item.h" | 12 #include "content/public/browser/download_item.h" |
14 #include "content/public/browser/download_manager.h" | 13 #include "content/public/browser/download_manager.h" |
15 #include "content/public/common/referrer.h" | 14 #include "content/public/common/referrer.h" |
16 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
17 #include "net/base/file_stream.h" | 16 #include "net/base/file_stream.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 113 |
115 // Access on UI thread. | 114 // Access on UI thread. |
116 content::DownloadManager* download_manager_; | 115 content::DownloadManager* download_manager_; |
117 bool download_manager_observer_added_; | 116 bool download_manager_observer_added_; |
118 content::DownloadItem* download_item_; | 117 content::DownloadItem* download_item_; |
119 | 118 |
120 DISALLOW_COPY_AND_ASSIGN(DragDownloadFile); | 119 DISALLOW_COPY_AND_ASSIGN(DragDownloadFile); |
121 }; | 120 }; |
122 | 121 |
123 #endif // CONTENT_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ | 122 #endif // CONTENT_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_FILE_H_ |
OLD | NEW |