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

Side by Side Diff: mojo/edk/js/handle.cc

Issue 690743003: Move mojo/bindings/js to mojo/edk/js (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "mojo/bindings/js/handle.h" 5 #include "mojo/edk/js/handle.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 #include "mojo/bindings/js/handle_close_observer.h" 8 #include "mojo/edk/js/handle_close_observer.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 namespace js { 11 namespace js {
12 12
13 gin::WrapperInfo HandleWrapper::kWrapperInfo = { gin::kEmbedderNativeGin }; 13 gin::WrapperInfo HandleWrapper::kWrapperInfo = { gin::kEmbedderNativeGin };
14 14
15 HandleWrapper::HandleWrapper(MojoHandle handle) 15 HandleWrapper::HandleWrapper(MojoHandle handle)
16 : handle_(mojo::Handle(handle)) { 16 : handle_(mojo::Handle(handle)) {
17 } 17 }
18 18
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 92 }
93 93
94 bool Converter<mojo::MessagePipeHandle>::FromV8(v8::Isolate* isolate, 94 bool Converter<mojo::MessagePipeHandle>::FromV8(v8::Isolate* isolate,
95 v8::Handle<v8::Value> val, 95 v8::Handle<v8::Value> val,
96 mojo::MessagePipeHandle* out) { 96 mojo::MessagePipeHandle* out) {
97 return Converter<mojo::Handle>::FromV8(isolate, val, out); 97 return Converter<mojo::Handle>::FromV8(isolate, val, out);
98 } 98 }
99 99
100 100
101 } // namespace gin 101 } // namespace gin
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698