| 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_SAVE_FILE_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_H_ |
| 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> |
| 12 | 13 |
| 13 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" | 15 #include "base/macros.h" |
| 15 #include "content/browser/download/base_file.h" | 16 #include "content/browser/download/base_file.h" |
| 16 #include "content/browser/download/save_types.h" | 17 #include "content/browser/download/save_types.h" |
| 17 | 18 |
| 18 namespace content { | 19 namespace content { |
| 19 // SaveFile ---------------------------------------------------------------- | 20 // SaveFile ---------------------------------------------------------------- |
| 20 | 21 |
| 21 // These objects live exclusively on the file thread and handle the writing | 22 // These objects live exclusively on the file thread and handle the writing |
| (...skipping 30 matching lines...) Expand all Loading... |
| 52 private: | 53 private: |
| 53 BaseFile file_; | 54 BaseFile file_; |
| 54 std::unique_ptr<const SaveFileCreateInfo> info_; | 55 std::unique_ptr<const SaveFileCreateInfo> info_; |
| 55 | 56 |
| 56 DISALLOW_COPY_AND_ASSIGN(SaveFile); | 57 DISALLOW_COPY_AND_ASSIGN(SaveFile); |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 } // namespace content | 60 } // namespace content |
| 60 | 61 |
| 61 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_H_ | 62 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_H_ |
| OLD | NEW |