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

Unified Diff: chrome/browser/sync/test/integration/bookmarks_helper.cc

Issue 10449042: Remove wchar/wstring version of StringPrintf. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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/sync/test/integration/bookmarks_helper.cc
diff --git a/chrome/browser/sync/test/integration/bookmarks_helper.cc b/chrome/browser/sync/test/integration/bookmarks_helper.cc
index 453f2191cdb1886333546bae3b04668c3d06ee42..aefb2743cdb2c4a3aecdc837ea06eb8fbaf990f0 100644
--- a/chrome/browser/sync/test/integration/bookmarks_helper.cc
+++ b/chrome/browser/sync/test/integration/bookmarks_helper.cc
@@ -586,19 +586,19 @@ std::string IndexedURL(int i) {
}
std::wstring IndexedURLTitle(int i) {
- return StringPrintf(L"URL Title %d", i);
+ return ASCIIToWide(StringPrintf("URL Title %d", i));
}
std::wstring IndexedFolderName(int i) {
- return StringPrintf(L"Folder Name %d", i);
+ return ASCIIToWide(StringPrintf("Folder Name %d", i));
}
std::wstring IndexedSubfolderName(int i) {
- return StringPrintf(L"Subfolder Name %d", i);
+ return ASCIIToWide(StringPrintf("Subfolder Name %d", i));
}
std::wstring IndexedSubsubfolderName(int i) {
- return StringPrintf(L"Subsubfolder Name %d", i);
+ return ASCIIToWide(StringPrintf("Subsubfolder Name %d", i));
}
} // namespace bookmarks_helper

Powered by Google App Engine
This is Rietveld 408576698