summaryrefslogtreecommitdiffstats
path: root/components/offline_pages/offline_page_item.cc
diff options
context:
space:
mode:
authorfgorski <fgorski@chromium.org>2015-07-08 10:55:46 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-08 17:56:22 +0000
commitbe4b966f94bef50ef9c3f745ed2c5cae0a122cae (patch)
tree84bf78eeccaa9905b0f9650c21bdae5d1b35a26b /components/offline_pages/offline_page_item.cc
parentef342b9c4ff55a6b827a72b9749ee54e33eeab86 (diff)
downloadchromium_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.cc')
-rw-r--r--components/offline_pages/offline_page_item.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/offline_pages/offline_page_item.cc b/components/offline_pages/offline_page_item.cc
index 637a9b2..df8a122 100644
--- a/components/offline_pages/offline_page_item.cc
+++ b/components/offline_pages/offline_page_item.cc
@@ -18,7 +18,7 @@ OfflinePageItem::OfflinePageItem()
}
OfflinePageItem::OfflinePageItem(const GURL& url,
- const std::string& title,
+ const base::string16& title,
const base::FilePath& file_path,
int64 file_size)
: url(url),
@@ -29,7 +29,7 @@ OfflinePageItem::OfflinePageItem(const GURL& url,
}
OfflinePageItem::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)