summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/save_package.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 01:56:32 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 01:56:32 +0000
commitf6b4853153c6be7a7ce092d4c5f3172c022da561 (patch)
tree99f03bfa0866d1441f37f979d88c82f3fb51180f /chrome/browser/download/save_package.h
parent5e5136c2a2fc497ada68dadfacfd9068ee22f36f (diff)
downloadchromium_src-f6b4853153c6be7a7ce092d4c5f3172c022da561.zip
chromium_src-f6b4853153c6be7a7ce092d4c5f3172c022da561.tar.gz
chromium_src-f6b4853153c6be7a7ce092d4c5f3172c022da561.tar.bz2
Change url wstrings to GURLS
Review URL: http://codereview.chromium.org/20273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/save_package.h')
-rw-r--r--chrome/browser/download/save_package.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/download/save_package.h b/chrome/browser/download/save_package.h
index 6bbe7b2..5dbc9e6 100644
--- a/chrome/browser/download/save_package.h
+++ b/chrome/browser/download/save_package.h
@@ -98,7 +98,7 @@ class SavePackage : public base::RefCountedThreadSafe<SavePackage>,
void StartSave(const SaveFileCreateInfo* info);
bool UpdateSaveProgress(int32 save_id, int64 size, bool write_success);
void SaveFinished(int32 save_id, int64 size, bool is_success);
- void SaveFailed(const std::wstring& save_url);
+ void SaveFailed(const GURL& save_url);
void SaveCanceled(SaveItem* save_item);
// Rough percent complete, -1 means we don't know (since we didn't receive a
@@ -228,7 +228,7 @@ class SavePackage : public base::RefCountedThreadSafe<SavePackage>,
SaveItem* LookupItemInProcessBySaveId(int32 save_id);
void PutInProgressItemToSavedMap(SaveItem* save_item);
- typedef base::hash_map<std::wstring, SaveItem*> SaveUrlItemMap;
+ typedef base::hash_map<std::string, SaveItem*> SaveUrlItemMap;
// in_progress_items_ is map of all saving job in in-progress state.
SaveUrlItemMap in_progress_items_;
// saved_failed_items_ is map of all saving job which are failed.
@@ -268,7 +268,7 @@ class SavePackage : public base::RefCountedThreadSafe<SavePackage>,
DownloadItem* download_;
// The URL of the page the user wants to save.
- std::wstring page_url_;
+ GURL page_url_;
FilePath saved_main_file_path_;
FilePath saved_main_directory_path_;