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

Unified Diff: chrome/browser/sync/test/integration/multiple_client_bookmarks_sync_test.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/multiple_client_bookmarks_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc b/chrome/browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc
index f51e8dc662b697ce8669a971fb9f01e563679b8a..ebcc3d67048211e63b06d7da3a6e6baff9c5ddb7 100644
--- a/chrome/browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc
+++ b/chrome/browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/stringprintf.h"
+#include "base/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/test/integration/bookmarks_helper.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
@@ -23,7 +24,7 @@ IN_PROC_BROWSER_TEST_F(MultipleClientBookmarksSyncTest, Sanity) {
ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
DisableVerifier();
for (int i = 0; i < num_clients(); ++i) {
- ASSERT_TRUE(AddURL(i, base::StringPrintf(L"Google URL %d", i),
+ ASSERT_TRUE(AddURL(i, ASCIIToWide(base::StringPrintf("Google URL %d", i)),
GURL(StringPrintf("http://www.google.com/%d", i))) != NULL);
}
ASSERT_TRUE(AwaitQuiescence());

Powered by Google App Engine
This is Rietveld 408576698