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

Unified Diff: base/json/json_writer.cc

Issue 6997006: iwyu: Include stringprintf.h where appropriate, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: base/json/json_writer.cc
diff --git a/base/json/json_writer.cc b/base/json/json_writer.cc
index fa8f2398cbb8292b77c6ffddb68e51896543d349..65317724dba7102670cb3f75a72bc0bea982578a 100644
--- a/base/json/json_writer.cc
+++ b/base/json/json_writer.cc
@@ -6,7 +6,7 @@
#include "base/json/string_escape.h"
#include "base/logging.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/string_number_conversions.h"
#include "base/values.h"
#include "base/utf_string_conversions.h"
@@ -71,7 +71,7 @@ void JSONWriter::BuildJSONString(const Value* const node,
int value;
bool result = node->GetAsInteger(&value);
DCHECK(result);
- StringAppendF(json_string_, "%d", value);
+ base::StringAppendF(json_string_, "%d", value);
break;
}
« no previous file with comments | « base/json/json_reader.cc ('k') | base/json/string_escape.cc » ('j') | base/json/string_escape.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698