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

Unified Diff: chrome/test/live_sync/multiple_client_live_preferences_sync_test.cc

Issue 7016011: iwyu: Include stringprintf.h where appropriate, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix. Created 9 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/test/live_sync/multiple_client_live_preferences_sync_test.cc
diff --git a/chrome/test/live_sync/multiple_client_live_preferences_sync_test.cc b/chrome/test/live_sync/multiple_client_live_preferences_sync_test.cc
index 00d370c03a9a1815d7174fa3c090f531f99e7d81..748b9422e3402dc874bb5cc8a2438184c8303352 100644
--- a/chrome/test/live_sync/multiple_client_live_preferences_sync_test.cc
+++ b/chrome/test/live_sync/multiple_client_live_preferences_sync_test.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#include "base/memory/scoped_ptr.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "chrome/browser/prefs/scoped_user_pref_update.h"
#include "chrome/browser/sync/profile_sync_service_harness.h"
#include "chrome/common/pref_names.h"
@@ -14,7 +14,7 @@ IN_PROC_BROWSER_TEST_F(MultipleClientLivePreferencesSyncTest, Sanity) {
for (int i = 0; i < num_clients(); ++i) {
ListPrefUpdate update(GetPrefs(i), prefs::kURLsToRestoreOnStartup);
ListValue* client_urls = update.Get();
- client_urls->Append(Value::CreateStringValue(StringPrintf(
+ client_urls->Append(Value::CreateStringValue(base::StringPrintf(
"http://www.google.com/%d", i)));
}
for (int i = 0; i < num_clients(); ++i) {
« no previous file with comments | « chrome/test/live_sync/multiple_client_live_bookmarks_sync_test.cc ('k') | chrome/test/startup/feature_startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698