| Index: base/json/json_writer.cc
|
| diff --git a/base/json/json_writer.cc b/base/json/json_writer.cc
|
| index f457331165004ebcc91226d6fbf2e26965e402df..d93e22fdb0ba9b3e5b43c145de29ea11415f9e0b 100644
|
| --- a/base/json/json_writer.cc
|
| +++ b/base/json/json_writer.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "base/json/json_writer.h"
|
|
|
| +#include "base/basictypes.h"
|
| +#include "base/format_macros.h"
|
| #include "base/json/string_escape.h"
|
| #include "base/logging.h"
|
| #include "base/stringprintf.h"
|
| @@ -78,6 +80,15 @@ void JSONWriter::BuildJSONString(const Value* const node,
|
| break;
|
| }
|
|
|
| + case Value::TYPE_INTEGER64:
|
| + {
|
| + int64 value;
|
| + bool result = node->GetAsInteger64(&value);
|
| + DCHECK(result);
|
| + base::StringAppendF(json_string_, "%" PRId64, value);
|
| + break;
|
| + }
|
| +
|
| case Value::TYPE_DOUBLE:
|
| {
|
| double value;
|
|
|