From 78a99cea0d06eac8e9251043977497c092766d48 Mon Sep 17 00:00:00 2001 From: Cyrus Master Date: Wed, 1 Sep 2010 09:26:15 -0700 Subject: Adds creation and last-modified timestamps to the bookmarks contract for the browser provider. Change-Id: Ib6d733e3b93fc854b3ddb5c011f61534462cb266 --- core/java/android/provider/BrowserContract.java | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'core') 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 { *

Type: INTEGER (boolean)

*/ public static final String DIRTY = "dirty"; + + /** + * The time that this row was created on its originating client (msecs + * since the epoch). + *

Type: INTEGER

+ */ + public static final String DATE_CREATED = "created"; + + /** + * The time that this row was last modified by a client (msecs since the epoch). + *

Type: INTEGER

+ */ + public static final String DATE_MODIFIED = "modified"; + } interface BookmarkColumns { -- cgit v1.1