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 JSONValuesForV8_h | 5 #ifndef JSONValuesForV8_h |
6 #define JSONValuesForV8_h | 6 #define JSONValuesForV8_h |
7 | 7 |
8 #include "platform/JSONValues.h" | 8 #include "platform/JSONValues.h" |
9 #include <v8.h> | 9 #include <v8.h> |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 PLATFORM_EXPORT PassRefPtr<JSONValue> toJSONValue(v8::Isolate*, v8::Local<v8::Va
lue>, int maxDepth = JSONValue::maxDepth); | 13 PLATFORM_EXPORT PassRefPtr<JSONValue> toJSONValue(v8::Local<v8::Context>, v8::Lo
cal<v8::Value>, int maxDepth = JSONValue::maxDepth); |
14 | 14 |
15 } // namespace blink | 15 } // namespace blink |
16 | 16 |
17 #endif // JSONValuesForV8_h | 17 #endif // JSONValuesForV8_h |
OLD | NEW |