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

Unified Diff: webkit/browser/blob/view_blob_internals_job.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: webkit/browser/blob/view_blob_internals_job.cc
diff --git a/webkit/browser/blob/view_blob_internals_job.cc b/webkit/browser/blob/view_blob_internals_job.cc
index fa9e82a12d7df80e31bef899a71b3b955a2a7a47..86a3a8774c7f8567e4469779bd1fd00bb44c01a0 100644
--- a/webkit/browser/blob/view_blob_internals_job.cc
+++ b/webkit/browser/blob/view_blob_internals_job.cc
@@ -182,12 +182,12 @@ void ViewBlobInternalsJob::GenerateHTMLForBlobData(const BlobData& blob_data,
bool has_multi_items = blob_data.items().size() > 1;
if (has_multi_items) {
AddHTMLListItem(kCount,
- UTF16ToUTF8(base::FormatNumber(blob_data.items().size())), out);
+ base::UTF16ToUTF8(base::FormatNumber(blob_data.items().size())), out);
}
for (size_t i = 0; i < blob_data.items().size(); ++i) {
if (has_multi_items) {
- AddHTMLListItem(kIndex, UTF16ToUTF8(base::FormatNumber(i)), out);
+ AddHTMLListItem(kIndex, base::UTF16ToUTF8(base::FormatNumber(i)), out);
StartHTMLList(out);
}
const BlobData::Item& item = blob_data.items().at(i);
@@ -202,7 +202,7 @@ void ViewBlobInternalsJob::GenerateHTMLForBlobData(const BlobData& blob_data,
net::EscapeForHTML(item.path().AsUTF8Unsafe()),
out);
if (!item.expected_modification_time().is_null()) {
- AddHTMLListItem(kModificationTime, UTF16ToUTF8(
+ AddHTMLListItem(kModificationTime, base::UTF16ToUTF8(
TimeFormatFriendlyDateAndTime(item.expected_modification_time())),
out);
}
@@ -214,7 +214,7 @@ void ViewBlobInternalsJob::GenerateHTMLForBlobData(const BlobData& blob_data,
AddHTMLListItem(kType, "filesystem", out);
AddHTMLListItem(kURL, item.filesystem_url().spec(), out);
if (!item.expected_modification_time().is_null()) {
- AddHTMLListItem(kModificationTime, UTF16ToUTF8(
+ AddHTMLListItem(kModificationTime, base::UTF16ToUTF8(
TimeFormatFriendlyDateAndTime(item.expected_modification_time())),
out);
}
@@ -224,11 +224,11 @@ void ViewBlobInternalsJob::GenerateHTMLForBlobData(const BlobData& blob_data,
break;
}
if (item.offset()) {
- AddHTMLListItem(kOffset, UTF16ToUTF8(base::FormatNumber(
+ AddHTMLListItem(kOffset, base::UTF16ToUTF8(base::FormatNumber(
static_cast<int64>(item.offset()))), out);
}
if (static_cast<int64>(item.length()) != -1) {
- AddHTMLListItem(kLength, UTF16ToUTF8(base::FormatNumber(
+ AddHTMLListItem(kLength, base::UTF16ToUTF8(base::FormatNumber(
static_cast<int64>(item.length()))), out);
}
« no previous file with comments | « webkit/browser/appcache/view_appcache_internals_job.cc ('k') | webkit/browser/database/database_quota_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698