diff options
author | fgorski <fgorski@chromium.org> | 2015-07-08 10:55:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-08 17:56:22 +0000 |
commit | be4b966f94bef50ef9c3f745ed2c5cae0a122cae (patch) | |
tree | 84bf78eeccaa9905b0f9650c21bdae5d1b35a26b /components/offline_pages/offline_page_item.h | |
parent | ef342b9c4ff55a6b827a72b9749ee54e33eeab86 (diff) | |
download | chromium_src-be4b966f94bef50ef9c3f745ed2c5cae0a122cae.zip chromium_src-be4b966f94bef50ef9c3f745ed2c5cae0a122cae.tar.gz chromium_src-be4b966f94bef50ef9c3f745ed2c5cae0a122cae.tar.bz2 |
Updating type of offline page item title to base::string16
This is done, because web page titles actually come in string16.
BUG=491352
Review URL: https://codereview.chromium.org/1214543002
Cr-Commit-Position: refs/heads/master@{#337856}
Diffstat (limited to 'components/offline_pages/offline_page_item.h')
-rw-r--r-- | components/offline_pages/offline_page_item.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/offline_pages/offline_page_item.h b/components/offline_pages/offline_page_item.h index f00e503..65f052c 100644 --- a/components/offline_pages/offline_page_item.h +++ b/components/offline_pages/offline_page_item.h @@ -9,6 +9,7 @@ #include "base/basictypes.h" #include "base/files/file_path.h" +#include "base/strings/string16.h" #include "base/time/time.h" #include "url/gurl.h" @@ -19,11 +20,11 @@ struct OfflinePageItem { public: OfflinePageItem(); OfflinePageItem(const GURL& url, - const std::string& title, + const base::string16& title, const base::FilePath& file_path, int64 file_size); OfflinePageItem(const GURL& url, - const std::string& title, + const base::string16& title, const base::FilePath& file_path, int64 file_size, const base::Time& creation_time); @@ -35,7 +36,7 @@ struct OfflinePageItem { // The URL of the page. GURL url; // The title of the page. - std::string title; + base::string16 title; // Version of the offline page item. int version; // The file path to the archive with a local copy of the page. |