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

Unified Diff: chrome/browser/sync/engine/apply_updates_command_unittest.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/browser/sync/engine/apply_updates_command_unittest.cc
diff --git a/chrome/browser/sync/engine/apply_updates_command_unittest.cc b/chrome/browser/sync/engine/apply_updates_command_unittest.cc
index db2321a5d467d26de6dc2199d3ee7ad5f313f730..e87611342754306eec6e4b04873471a67c4a5b85 100644
--- a/chrome/browser/sync/engine/apply_updates_command_unittest.cc
+++ b/chrome/browser/sync/engine/apply_updates_command_unittest.cc
@@ -5,7 +5,7 @@
#include <string>
#include "base/format_macros.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "chrome/browser/sync/engine/apply_updates_command.h"
#include "chrome/browser/sync/engine/syncer.h"
#include "chrome/browser/sync/engine/syncer_util.h"
@@ -408,13 +408,13 @@ TEST_F(ApplyUpdatesCommandTest, EncryptUnsyncedChanges) {
size_t batch_s = 5;
for (i = 0; i < batch_s; ++i) {
CreateUnsyncedItem(id_factory_.NewLocalId(), folder_id,
- StringPrintf("Item %"PRIuS"", i), false,
+ base::StringPrintf("Item %"PRIuS"", i), false,
syncable::BOOKMARKS, NULL);
}
// Next five items are children of the root.
for (; i < 2*batch_s; ++i) {
CreateUnsyncedItem(id_factory_.NewLocalId(), id_factory_.root(),
- StringPrintf("Item %"PRIuS"", i), false,
+ base::StringPrintf("Item %"PRIuS"", i), false,
syncable::BOOKMARKS, NULL);
}
@@ -504,13 +504,13 @@ TEST_F(ApplyUpdatesCommandTest, CannotEncryptUnsyncedChanges) {
size_t batch_s = 5;
for (i = 0; i < batch_s; ++i) {
CreateUnsyncedItem(id_factory_.NewLocalId(), folder_id,
- StringPrintf("Item %"PRIuS"", i), false,
+ base::StringPrintf("Item %"PRIuS"", i), false,
syncable::BOOKMARKS, NULL);
}
// Next five items are children of the root.
for (; i < 2*batch_s; ++i) {
CreateUnsyncedItem(id_factory_.NewLocalId(), id_factory_.root(),
- StringPrintf("Item %"PRIuS"", i), false,
+ base::StringPrintf("Item %"PRIuS"", i), false,
syncable::BOOKMARKS, NULL);
}

Powered by Google App Engine
This is Rietveld 408576698