OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_CHILD_V8_VALUE_CONVERTER_IMPL_H_ | 5 #ifndef CONTENT_CHILD_V8_VALUE_CONVERTER_IMPL_H_ |
6 #define CONTENT_CHILD_V8_VALUE_CONVERTER_IMPL_H_ | 6 #define CONTENT_CHILD_V8_VALUE_CONVERTER_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "content/public/child/v8_value_converter.h" | 13 #include "content/public/child/v8_value_converter.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class BinaryValue; | |
17 class DictionaryValue; | 16 class DictionaryValue; |
18 class ListValue; | 17 class ListValue; |
19 class Value; | 18 class Value; |
| 19 using BinaryValue = Value; |
20 } | 20 } |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 | 23 |
24 class CONTENT_EXPORT V8ValueConverterImpl : public V8ValueConverter { | 24 class CONTENT_EXPORT V8ValueConverterImpl : public V8ValueConverter { |
25 public: | 25 public: |
26 V8ValueConverterImpl(); | 26 V8ValueConverterImpl(); |
27 | 27 |
28 // V8ValueConverter implementation. | 28 // V8ValueConverter implementation. |
29 void SetDateAllowed(bool val) override; | 29 void SetDateAllowed(bool val) override; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 // Strategy object that changes the converter's behavior. | 92 // Strategy object that changes the converter's behavior. |
93 Strategy* strategy_; | 93 Strategy* strategy_; |
94 | 94 |
95 DISALLOW_COPY_AND_ASSIGN(V8ValueConverterImpl); | 95 DISALLOW_COPY_AND_ASSIGN(V8ValueConverterImpl); |
96 }; | 96 }; |
97 | 97 |
98 } // namespace content | 98 } // namespace content |
99 | 99 |
100 #endif // CONTENT_CHILD_V8_VALUE_CONVERTER_IMPL_H_ | 100 #endif // CONTENT_CHILD_V8_VALUE_CONVERTER_IMPL_H_ |
OLD | NEW |