OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BASE_JSON_WRITER_H_ | 5 #ifndef BASE_JSON_WRITER_H_ |
6 #define BASE_JSON_WRITER_H_ | 6 #define BASE_JSON_WRITER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 // Where we write JSON data as we generate it. | 39 // Where we write JSON data as we generate it. |
40 std::string* json_string_; | 40 std::string* json_string_; |
41 | 41 |
42 bool pretty_print_; | 42 bool pretty_print_; |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(JSONWriter); | 44 DISALLOW_COPY_AND_ASSIGN(JSONWriter); |
45 }; | 45 }; |
46 | 46 |
47 #endif // BASE_JSON_WRITER_H_ | 47 #endif // BASE_JSON_WRITER_H_ |
48 | |
OLD | NEW |