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

Unified Diff: chrome/test/sync/engine/mock_connection_manager.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
« no previous file with comments | « chrome/test/startup/startup_test.cc ('k') | chrome/test/v8_unit_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/sync/engine/mock_connection_manager.cc
diff --git a/chrome/test/sync/engine/mock_connection_manager.cc b/chrome/test/sync/engine/mock_connection_manager.cc
index 76c13f147e20edc98d5dad994a3eb3f814e200bb..124027080de4280475045ee2b16abf1aa3c825f7 100644
--- a/chrome/test/sync/engine/mock_connection_manager.cc
+++ b/chrome/test/sync/engine/mock_connection_manager.cc
@@ -8,6 +8,7 @@
#include <map>
+#include "base/stringprintf.h"
#include "chrome/browser/sync/engine/syncer_proto_util.h"
#include "chrome/browser/sync/protocol/bookmark_specifics.pb.h"
#include "chrome/test/sync/engine/test_id_factory.h"
@@ -508,7 +509,7 @@ void MockConnectionManager::ProcessCommit(ClientToServerMessage* csm,
if (entry.has_version() && 0 != entry.version()) {
er->set_id_string(id); // Allows verification.
} else {
- string new_id = StringPrintf("mock_server:%d", next_new_id_++);
+ string new_id = base::StringPrintf("mock_server:%d", next_new_id_++);
changed_ids[id] = new_id;
er->set_id_string(new_id);
}
« no previous file with comments | « chrome/test/startup/startup_test.cc ('k') | chrome/test/v8_unit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698