| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ValueConversions_h | 5 #ifndef ValueConversions_h |
| 6 #define ValueConversions_h | 6 #define ValueConversions_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | |
| 9 #include "platform/inspector_protocol/ErrorSupport.h" | 8 #include "platform/inspector_protocol/ErrorSupport.h" |
| 9 #include "platform/inspector_protocol/Platform.h" |
| 10 #include "platform/inspector_protocol/String16.h" | 10 #include "platform/inspector_protocol/String16.h" |
| 11 #include "platform/inspector_protocol/Values.h" | 11 #include "platform/inspector_protocol/Values.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 namespace protocol { | 14 namespace protocol { |
| 15 | 15 |
| 16 PLATFORM_EXPORT std::unique_ptr<protocol::Value> toValue(int value); | 16 PLATFORM_EXPORT std::unique_ptr<protocol::Value> toValue(int value); |
| 17 | 17 |
| 18 PLATFORM_EXPORT std::unique_ptr<protocol::Value> toValue(double value); | 18 PLATFORM_EXPORT std::unique_ptr<protocol::Value> toValue(double value); |
| 19 | 19 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 static std::unique_ptr<protocol::Array<T>> parse(protocol::Value* value, Err
orSupport* errors) | 154 static std::unique_ptr<protocol::Array<T>> parse(protocol::Value* value, Err
orSupport* errors) |
| 155 { | 155 { |
| 156 return protocol::Array<T>::parse(value, errors); | 156 return protocol::Array<T>::parse(value, errors); |
| 157 } | 157 } |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 } // namespace platform | 160 } // namespace platform |
| 161 } // namespace blink | 161 } // namespace blink |
| 162 | 162 |
| 163 #endif // !defined(ValueConversions_h) | 163 #endif // !defined(ValueConversions_h) |
| OLD | NEW |