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_TYPES_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_ |
6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <utility> | 9 #include <utility> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/file_path.h" | 13 #include "base/file_path.h" |
15 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
16 | 15 |
17 typedef std::vector<std::pair<int, FilePath> > FinalNameList; | 16 typedef std::vector<std::pair<int, FilePath> > FinalNameList; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 int request_id; | 58 int request_id; |
60 // Disposition info from HTTP response. | 59 // Disposition info from HTTP response. |
61 std::string content_disposition; | 60 std::string content_disposition; |
62 // Total bytes of saved file. | 61 // Total bytes of saved file. |
63 int64 total_bytes; | 62 int64 total_bytes; |
64 // Source type of saved file. | 63 // Source type of saved file. |
65 SaveFileSource save_source; | 64 SaveFileSource save_source; |
66 }; | 65 }; |
67 | 66 |
68 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_ | 67 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_TYPES_H_ |
OLD | NEW |