OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/file_path.h" | 9 #include "base/file_path.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "content/browser/download/base_file.h" | 11 #include "content/browser/download/base_file.h" |
13 #include "content/browser/download/save_types.h" | 12 #include "content/browser/download/save_types.h" |
14 | 13 |
15 // SaveFile ---------------------------------------------------------------- | 14 // SaveFile ---------------------------------------------------------------- |
16 | 15 |
17 // These objects live exclusively on the file thread and handle the writing | 16 // These objects live exclusively on the file thread and handle the writing |
(...skipping 30 matching lines...) Expand all Loading... |
48 } | 47 } |
49 | 48 |
50 private: | 49 private: |
51 BaseFile file_; | 50 BaseFile file_; |
52 scoped_ptr<const SaveFileCreateInfo> info_; | 51 scoped_ptr<const SaveFileCreateInfo> info_; |
53 | 52 |
54 DISALLOW_COPY_AND_ASSIGN(SaveFile); | 53 DISALLOW_COPY_AND_ASSIGN(SaveFile); |
55 }; | 54 }; |
56 | 55 |
57 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_H_ | 56 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_FILE_H_ |
OLD | NEW |