OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_IMPL_H_ | 5 #ifndef COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_IMPL_H_ |
6 #define COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_IMPL_H_ | 6 #define COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "components/safe_json/safe_json_parser.h" | 13 #include "components/safe_json/safe_json_parser.h" |
13 #include "content/public/browser/utility_process_host_client.h" | 14 #include "content/public/browser/utility_process_host_client.h" |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 class ListValue; | 17 class ListValue; |
17 class SequencedTaskRunner; | 18 class SequencedTaskRunner; |
18 class Value; | 19 class Value; |
19 } | 20 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 56 |
56 scoped_ptr<base::Value> parsed_json_; | 57 scoped_ptr<base::Value> parsed_json_; |
57 std::string error_; | 58 std::string error_; |
58 | 59 |
59 DISALLOW_COPY_AND_ASSIGN(SafeJsonParserImpl); | 60 DISALLOW_COPY_AND_ASSIGN(SafeJsonParserImpl); |
60 }; | 61 }; |
61 | 62 |
62 } // namespace safe_json | 63 } // namespace safe_json |
63 | 64 |
64 #endif // COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_IMPL_H_ | 65 #endif // COMPONENTS_SAFE_JSON_SAFE_JSON_PARSER_IMPL_H_ |
OLD | NEW |