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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java

Issue 12625005: remove call to get android MediaPlayer class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix findbug warning Created 7 years, 9 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 | « no previous file | chrome/browser/history/android/sqlite_cursor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java b/chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java
index 2297d907ebe094f47115922261dc87d6283d7dfb..8099e7e329fde3a7bfd4c15d6604c80c1063df65 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/database/SQLiteCursor.java
@@ -9,6 +9,8 @@ import android.database.AbstractCursor;
import android.database.CursorWindow;
import android.util.Log;
+import org.chromium.base.CalledByNative;
+
import java.sql.Types;
/**
@@ -31,10 +33,15 @@ public class SQLiteCursor extends AbstractCursor {
private final Object mMoveLock = new Object();
private final Object mGetBlobLock = new Object();
- SQLiteCursor(int nativeSQLiteCursor) {
+ private SQLiteCursor(int nativeSQLiteCursor) {
mNativeSQLiteCursor = nativeSQLiteCursor;
}
+ @CalledByNative
+ private static SQLiteCursor create(int nativeSQLiteCursor) {
+ return new SQLiteCursor(nativeSQLiteCursor);
+ }
+
@Override
public int getCount() {
synchronized (mMoveLock) {
« no previous file with comments | « no previous file | chrome/browser/history/android/sqlite_cursor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698