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

Unified Diff: sky/engine/core/inspector/JSONParser.h

Issue 727593004: Wire up the Inspector V8 Debugger (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Actually works Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/inspector/JSONParser.h
diff --git a/sky/engine/public/platform/WebCanvas.h b/sky/engine/core/inspector/JSONParser.h
similarity index 88%
copy from sky/engine/public/platform/WebCanvas.h
copy to sky/engine/core/inspector/JSONParser.h
index d0de44c6e4f57fcadb48288e7b1baf1216c93736..8c4870fed37f1ea5447324ec86b07a27a3775115 100644
--- a/sky/engine/public/platform/WebCanvas.h
+++ b/sky/engine/core/inspector/JSONParser.h
@@ -28,17 +28,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebCanvas_h
-#define WebCanvas_h
+#ifndef JSONParser_h
+#define JSONParser_h
-#include "WebCommon.h"
-
-class SkCanvas;
+#include "wtf/PassRefPtr.h"
+#include "wtf/text/WTFString.h"
namespace blink {
-typedef SkCanvas WebCanvas;
+class JSONValue;
+
+PassRefPtr<JSONValue> parseJSON(const String& json);
} // namespace blink
-#endif
+#endif // !defined(JSONParser_h)

Powered by Google App Engine
This is Rietveld 408576698