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

Unified Diff: mojo/apps/js/bindings/handle.cc

Issue 189453003: Moves around mojo js bindings code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/apps/js/bindings/handle.h ('k') | mojo/apps/js/bindings/support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/bindings/handle.cc
diff --git a/mojo/apps/js/bindings/handle.cc b/mojo/apps/js/bindings/handle.cc
deleted file mode 100644
index 068be2db116b974d9443b7e4b4adb447ca17ddb5..0000000000000000000000000000000000000000
--- a/mojo/apps/js/bindings/handle.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "mojo/apps/js/bindings/handle.h"
-
-namespace gin {
-
-v8::Handle<v8::Value> Converter<mojo::Handle>::ToV8(v8::Isolate* isolate,
- const mojo::Handle& val) {
- return Converter<MojoHandle>::ToV8(isolate, val.value());
-}
-
-bool Converter<mojo::Handle>::FromV8(v8::Isolate* isolate,
- v8::Handle<v8::Value> val,
- mojo::Handle* out) {
- return Converter<MojoHandle>::FromV8(isolate, val, out->mutable_value());
-}
-
-} // namespace gin
« no previous file with comments | « mojo/apps/js/bindings/handle.h ('k') | mojo/apps/js/bindings/support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698