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

Unified Diff: samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoMVC.java

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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
Index: samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoMVC.java
diff --git a/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/todomvc/TodoMVC.java b/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoMVC.java
similarity index 73%
rename from samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/todomvc/TodoMVC.java
rename to samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoMVC.java
index 2c71c9deed7472f2dbda8fceedef3c0fff270a5b..73c2e2a5d10b5ffb7854657095f91cc66d4f05a9 100644
--- a/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/todomvc/TodoMVC.java
+++ b/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoMVC.java
@@ -2,16 +2,16 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-package com.google.fletch.todomvc;
+package com.google.dartino.todomvc;
import android.app.Application;
import java.io.IOException;
import java.io.InputStream;
-import fletch.FletchApi;
-import fletch.FletchServiceApi;
-import fletch.TodoMVCService;
+import dartino.DartinoApi;
+import dartino.DartinoServiceApi;
+import dartino.TodoMVCService;
public class TodoMVC extends Application {
@@ -39,17 +39,17 @@ public class TodoMVC extends Application {
}
}
- private void startFletchService() {
- // Load the library containing the fletch runtime
+ private void startDartinoService() {
+ // Load the library containing the dartino runtime
// as well as the jni service code.
- System.loadLibrary("fletch");
+ System.loadLibrary("dartino");
- // Setup fletch and the service API.
- FletchApi.Setup();
- FletchServiceApi.Setup();
+ // Setup dartino and the service API.
+ DartinoApi.Setup();
+ DartinoServiceApi.Setup();
- // Tell fletch which library to use for foreign function lookups.
- FletchApi.AddDefaultSharedLibrary("libfletch.so");
+ // Tell dartino which library to use for foreign function lookups.
+ DartinoApi.AddDefaultSharedLibrary("libdartino.so");
startDartServiceThread();
@@ -59,6 +59,6 @@ public class TodoMVC extends Application {
@Override
public void onCreate() {
- startFletchService();
+ startDartinoService();
}
}

Powered by Google App Engine
This is Rietveld 408576698