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

Unified Diff: samples/android_sample/jni/main.cc

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/log.h ('k') | samples/android_sample/jni/resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/android_sample/jni/main.cc
diff --git a/samples/android_sample/jni/main.cc b/samples/android_sample/jni/main.cc
index 12688c82354aedd3231dee5cbede6000f3ad4844..0c59b165f67de0df29d3954ee16581ff6cdbc43e 100644
--- a/samples/android_sample/jni/main.cc
+++ b/samples/android_sample/jni/main.cc
@@ -22,12 +22,10 @@ void android_main(android_app* application) {
eventLoop.Run(&host, &context);
}
-int32_t PlayBackground(const char* path) {
+void PlayBackground(const char* path) {
psound_service->PlayBackground(path);
}
void StopBackground() {
psound_service->StopBackground();
}
-
-
« no previous file with comments | « samples/android_sample/jni/log.h ('k') | samples/android_sample/jni/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698