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

Unified Diff: sky/engine/bindings2/mojo_natives.h

Issue 919883002: Allow sky apps to be consumers of mojo services (Closed) Base URL: https://github.com/eseidel/skydart.git@master
Patch Set: cr comments Created 5 years, 10 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 | « sky/engine/bindings2/builtin.cc ('k') | sky/engine/bindings2/mojo_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings2/mojo_natives.h
diff --git a/mojo/dart/embedder/mojo_natives.h b/sky/engine/bindings2/mojo_natives.h
similarity index 68%
copy from mojo/dart/embedder/mojo_natives.h
copy to sky/engine/bindings2/mojo_natives.h
index 3ae635d6c11fb48e901c7869bcafa12fde16d1ad..79e0c8dde821d5622e66548afec3f2ab9cde45bf 100644
--- a/mojo/dart/embedder/mojo_natives.h
+++ b/sky/engine/bindings2/mojo_natives.h
@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_DART_EMBEDDER_MOJO_NATIVES_H_
-#define MOJO_DART_EMBEDDER_MOJO_NATIVES_H_
+#ifndef SKY_ENGINE_BINDINGS2_MOJO_NATIVES_H_
+#define SKY_ENGINE_BINDINGS2_MOJO_NATIVES_H_
#include "dart/runtime/include/dart_api.h"
-namespace mojo {
-namespace dart {
+namespace blink {
Dart_NativeFunction MojoNativeLookup(Dart_Handle name,
int argument_count,
@@ -16,7 +15,6 @@ Dart_NativeFunction MojoNativeLookup(Dart_Handle name,
const uint8_t* MojoNativeSymbol(Dart_NativeFunction nf);
-} // namespace dart
-} // namespace mojo
+} // namespace blink
-#endif // MOJO_DART_EMBEDDER_MOJO_NATIVES_H_
+#endif // SKY_ENGINE_BINDINGS2_MOJO_NATIVES_H_
« no previous file with comments | « sky/engine/bindings2/builtin.cc ('k') | sky/engine/bindings2/mojo_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698