| Index: chrome/browser/history/download_types.h
|
| ===================================================================
|
| --- chrome/browser/history/download_types.h (revision 7570)
|
| +++ chrome/browser/history/download_types.h (working copy)
|
| @@ -11,7 +11,6 @@
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| -#include "base/file_path.h"
|
| #include "base/time.h"
|
|
|
| // Used for informing the download database of a new download, where we don't
|
| @@ -19,7 +18,7 @@
|
| // vector of these structs for passing us the state of all downloads at
|
| // initialization time (see DownloadQueryInfo below).
|
| struct DownloadCreateInfo {
|
| - DownloadCreateInfo(const FilePath& path,
|
| + DownloadCreateInfo(const std::wstring& path,
|
| const std::wstring& url,
|
| base::Time start_time,
|
| int64 received_bytes,
|
| @@ -45,9 +44,9 @@
|
| DownloadCreateInfo() : download_id(-1) {}
|
|
|
| // DownloadItem fields
|
| - FilePath path;
|
| + std::wstring path;
|
| std::wstring url;
|
| - FilePath suggested_path;
|
| + std::wstring suggested_path;
|
| // A number that should be added to the suggested path to make it unique.
|
| // 0 means no number should be appended. Not actually stored in the db.
|
| int path_uniquifier;
|
| @@ -66,7 +65,7 @@
|
| // Whether this download is potentially dangerous (ex: exe, dll, ...).
|
| bool is_dangerous;
|
| // The original name for a dangerous download.
|
| - FilePath original_name;
|
| + std::wstring original_name;
|
| };
|
|
|
| #endif // CHROME_BROWSER_DOWNLOAD_TYPES_H__
|
|
|