| 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_DOWNLOAD_FILE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ |
| 7 | 7 |
| 8 #include "content/browser/download/download_file.h" | 8 #include "content/browser/download/download_file.h" |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/time.h" | 13 #include "base/time/time.h" |
| 14 #include "base/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "content/browser/byte_stream.h" | 15 #include "content/browser/byte_stream.h" |
| 16 #include "content/browser/download/base_file.h" | 16 #include "content/browser/download/base_file.h" |
| 17 #include "content/browser/download/rate_estimator.h" | 17 #include "content/browser/download/rate_estimator.h" |
| 18 #include "content/public/browser/download_save_info.h" | 18 #include "content/public/browser/download_save_info.h" |
| 19 #include "net/base/net_log.h" | 19 #include "net/base/net_log.h" |
| 20 | 20 |
| 21 namespace content { | 21 namespace content { |
| 22 class ByteStreamReader; | 22 class ByteStreamReader; |
| 23 class DownloadDestinationObserver; | 23 class DownloadDestinationObserver; |
| 24 class DownloadManager; | 24 class DownloadManager; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 106 |
| 107 // RAII handle to keep the system from sleeping while we're downloading. | 107 // RAII handle to keep the system from sleeping while we're downloading. |
| 108 scoped_ptr<PowerSaveBlocker> power_save_blocker_; | 108 scoped_ptr<PowerSaveBlocker> power_save_blocker_; |
| 109 | 109 |
| 110 DISALLOW_COPY_AND_ASSIGN(DownloadFileImpl); | 110 DISALLOW_COPY_AND_ASSIGN(DownloadFileImpl); |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace content | 113 } // namespace content |
| 114 | 114 |
| 115 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ | 115 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ |
| OLD | NEW |