diff options
| author | 2010-08-17 13:51:17 -0500 | |
|---|---|---|
| committer | 2010-08-17 14:03:07 -0500 | |
| commit | 98bfcfb944190e6329dad233f2bf80e404e125b3 (patch) | |
| tree | 4c8c2ec40d1c82b0ab0571baf0a0a7a04e58307c | |
| parent | e5d0a83b12a06ff5dcb3687ed892764caa75f66b (diff) | |
Add in constants for the server unique columns in Chrome sync.
Change-Id: Ie359d4a11da2278b623a02dea19a4f847632f5ab
| -rw-r--r-- | core/java/android/provider/BrowserContract.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/java/android/provider/BrowserContract.java b/core/java/android/provider/BrowserContract.java index c118022fec55..37f1ff20c7c4 100644 --- a/core/java/android/provider/BrowserContract.java +++ b/core/java/android/provider/BrowserContract.java @@ -65,6 +65,24 @@ public class BrowserContract { } /** + * Convenience definitions for use in implementing chrome bookmarks sync in the Bookmarks table. + */ + public static final class ChromeSyncColumns { + private ChromeSyncColumns() {} + + /** The server unique ID for an item */ + public static final String SERVER_UNIQUE = BaseSyncColumns.SYNC3; + + public static final String FOLDER_NAME_ROOT = "google_chrome"; + 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. */ |