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_BASE_FILE_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_BASE_FILE_H_ |
6 #define CONTENT_BROWSER_DOWNLOAD_BASE_FILE_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_BASE_FILE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "content/public/browser/download_interrupt_reasons.h" | 16 #include "content/public/browser/download_interrupt_reasons.h" |
17 #include "googleurl/src/gurl.h" | |
18 #include "net/base/file_stream.h" | 17 #include "net/base/file_stream.h" |
19 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
20 #include "net/base/net_log.h" | 19 #include "net/base/net_log.h" |
| 20 #include "url/gurl.h" |
21 | 21 |
22 namespace crypto { | 22 namespace crypto { |
23 class SecureHash; | 23 class SecureHash; |
24 } | 24 } |
25 namespace net { | 25 namespace net { |
26 class FileStream; | 26 class FileStream; |
27 } | 27 } |
28 | 28 |
29 namespace content { | 29 namespace content { |
30 | 30 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 bool detached_; | 165 bool detached_; |
166 | 166 |
167 net::BoundNetLog bound_net_log_; | 167 net::BoundNetLog bound_net_log_; |
168 | 168 |
169 DISALLOW_COPY_AND_ASSIGN(BaseFile); | 169 DISALLOW_COPY_AND_ASSIGN(BaseFile); |
170 }; | 170 }; |
171 | 171 |
172 } // namespace content | 172 } // namespace content |
173 | 173 |
174 #endif // CONTENT_BROWSER_DOWNLOAD_BASE_FILE_H_ | 174 #endif // CONTENT_BROWSER_DOWNLOAD_BASE_FILE_H_ |
OLD | NEW |