Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/JSONValuesForV8.h

Issue 1702223002: PaymentRequest API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows linking. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef JSONValuesForV8_h
6 #define JSONValuesForV8_h
7
8 #include "core/CoreExport.h"
9 #include "platform/JSONValues.h"
10 #include "wtf/text/WTFString.h"
11 #include <v8.h>
12
13 namespace blink {
14
15 class ExceptionState;
16 class ScriptState;
17
18 CORE_EXPORT PassRefPtr<JSONValue> toJSONValue(v8::Local<v8::Context>, v8::Local< v8::Value>, int maxDepth = JSONValue::maxDepth);
19
20 CORE_EXPORT v8::Local<v8::Value> fromJSONString(ScriptState*, const String& stri ngifiedJSON, ExceptionState&);
21
22 } // namespace blink
23
24 #endif // JSONValuesForV8_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698