Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4443)

Unified Diff: chrome/browser/history/history_backend.cc

Issue 2714012: Convert page contents grabbing from wide to UTF16. The current code is a bit... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history_backend.cc
===================================================================
--- chrome/browser/history/history_backend.cc (revision 49439)
+++ chrome/browser/history/history_backend.cc (working copy)
@@ -763,7 +763,7 @@
// create the visit entry with the indexed flag set.
has_indexed = text_database_->AddPageData(i->url(), url_id, 0,
i->last_visit(),
- i->title(), std::wstring());
+ i->title(), string16());
}
// Make up a visit to correspond to that page.
@@ -1426,7 +1426,7 @@
}
void HistoryBackend::SetPageContents(const GURL& url,
- const std::wstring& contents) {
+ const string16& contents) {
// This is histogrammed in the text database manager.
if (!text_database_.get())
return;

Powered by Google App Engine
This is Rietveld 408576698