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_PUBLIC_BROWSER_DOWNLOAD_SAVE_INFO_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_DOWNLOAD_SAVE_INFO_H_ |
6 #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_SAVE_INFO_H_ | 6 #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_SAVE_INFO_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/file_path.h" | 8 #include "base/file_path.h" |
10 #include "base/memory/linked_ptr.h" | 9 #include "base/memory/linked_ptr.h" |
11 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
12 #include "net/base/file_stream.h" | 11 #include "net/base/file_stream.h" |
13 | 12 |
14 namespace content { | 13 namespace content { |
15 | 14 |
16 // Holds the information about how to save a download file. | 15 // Holds the information about how to save a download file. |
17 // In the case of download continuation, |file_path| is set to the current file | 16 // In the case of download continuation, |file_path| is set to the current file |
(...skipping 25 matching lines...) Expand all Loading... |
43 // the user will be prompted for a location to save the download. Otherwise, | 42 // the user will be prompted for a location to save the download. Otherwise, |
44 // the location will be determined automatically using |file_path| as a | 43 // the location will be determined automatically using |file_path| as a |
45 // basis if |file_path| is not empty. | 44 // basis if |file_path| is not empty. |
46 // |prompt_for_save_location| defaults to false. | 45 // |prompt_for_save_location| defaults to false. |
47 bool prompt_for_save_location; | 46 bool prompt_for_save_location; |
48 }; | 47 }; |
49 | 48 |
50 } // namespace content | 49 } // namespace content |
51 | 50 |
52 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_SAVE_INFO_H_ | 51 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_SAVE_INFO_H_ |
OLD | NEW |