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

Unified Diff: samples/android_sample/jni/android_extension.h

Issue 11416343: Refactored Android samples / embedder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix type error on playBackground Created 8 years 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 | « samples/android_sample/jni/DartNDK.mk ('k') | samples/android_sample/jni/android_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/android_sample/jni/android_extension.h
diff --git a/samples/android_sample/jni/android_extension.h b/samples/android_sample/jni/android_extension.h
index f931edc3769d72d2c77e4448a80f217906f7d067..2c24fe77c9b0f1859b3f6f284372e608df320e8f 100644
--- a/samples/android_sample/jni/android_extension.h
+++ b/samples/android_sample/jni/android_extension.h
@@ -1,8 +1,15 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
#ifndef ANDROID_EXTENSION_H
#define ANDROID_EXTENSION_H
-extern int32_t PlayBackground(const char* path);
-extern void StopBackground();
+#include "include/dart_api.h"
-#endif
+Dart_NativeFunction ResolveName(Dart_Handle name, int argc);
+void PlayBackground(const char* path);
+void StopBackground();
+
+#endif
« no previous file with comments | « samples/android_sample/jni/DartNDK.mk ('k') | samples/android_sample/jni/android_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698