summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorCyrus Master <cmaster@google.com>2010-09-01 09:26:15 -0700
committerCyrus Master <cmaster@google.com>2010-09-01 09:55:29 -0700
commit78a99cea0d06eac8e9251043977497c092766d48 (patch)
tree3a533f885070cb65509746f94f8dc4c392e422d7 /core
parente1ab2228e27fc216d52426f13ae30ae244c64140 (diff)
downloadframeworks_base-78a99cea0d06eac8e9251043977497c092766d48.zip
frameworks_base-78a99cea0d06eac8e9251043977497c092766d48.tar.gz
frameworks_base-78a99cea0d06eac8e9251043977497c092766d48.tar.bz2
Adds creation and last-modified timestamps to the bookmarks contract for the browser provider.
Change-Id: Ib6d733e3b93fc854b3ddb5c011f61534462cb266
Diffstat (limited to 'core')
-rw-r--r--core/java/android/provider/BrowserContract.java18
1 files changed, 16 insertions, 2 deletions
diff --git a/core/java/android/provider/BrowserContract.java b/core/java/android/provider/BrowserContract.java
index 22bbe68..f8a2a13 100644
--- a/core/java/android/provider/BrowserContract.java
+++ b/core/java/android/provider/BrowserContract.java
@@ -77,11 +77,11 @@ public class BrowserContract {
public static final String FOLDER_NAME_BOOKMARKS = "google_chrome_bookmarks";
public static final String FOLDER_NAME_BOOKMARKS_BAR = "bookmark_bar";
public static final String FOLDER_NAME_OTHER_BOOKMARKS = "other_bookmarks";
-
+
/** The client unique ID for an item */
public static final String CLIENT_UNIQUE = BaseSyncColumns.SYNC4;
}
-
+
/**
* Columns that appear when each row of a table belongs to a specific
* account, including sync information that an account may need.
@@ -120,6 +120,20 @@ public class BrowserContract {
* <P>Type: INTEGER (boolean)</P>
*/
public static final String DIRTY = "dirty";
+
+ /**
+ * The time that this row was created on its originating client (msecs
+ * since the epoch).
+ * <P>Type: INTEGER</P>
+ */
+ public static final String DATE_CREATED = "created";
+
+ /**
+ * The time that this row was last modified by a client (msecs since the epoch).
+ * <P>Type: INTEGER</P>
+ */
+ public static final String DATE_MODIFIED = "modified";
+
}
interface BookmarkColumns {