Java Code Examples for org.chromium.components.bookmarks.BookmarkId#toString()
The following examples show how to use
org.chromium.components.bookmarks.BookmarkId#toString() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BookmarkUIState.java From delion with Apache License 2.0 | 5 votes |
static BookmarkUIState createFolderState(BookmarkId folder, BookmarkModel bookmarkModel) { if (folder == null) return createAllBookmarksState(bookmarkModel); BookmarkUIState state = new BookmarkUIState(); state.mState = STATE_FOLDER; state.mUrl = UrlConstants.BOOKMARKS_FOLDER_URL + folder.toString(); state.mFolder = folder; return state; }
Example 2
Source File: ClientId.java From delion with Apache License 2.0 | 2 votes |
/** * Create a client id for a bookmark * @param id The bookmark id to wrap. * @return A {@link ClientId} that represents this BookmarkId. */ public static ClientId createClientIdForBookmarkId(BookmarkId id) { if (id == null) return null; return new ClientId(OfflinePageBridge.BOOKMARK_NAMESPACE, id.toString()); }
Example 3
Source File: ClientId.java From AndroidChromium with Apache License 2.0 | 2 votes |
/** * Create a client id for a bookmark * @param id The bookmark id to wrap. * @return A {@link ClientId} that represents this BookmarkId. */ public static ClientId createClientIdForBookmarkId(BookmarkId id) { if (id == null) return null; return new ClientId(OfflinePageBridge.BOOKMARK_NAMESPACE, id.toString()); }
Example 4
Source File: ClientId.java From 365browser with Apache License 2.0 | 2 votes |
/** * Create a client id for a bookmark * @param id The bookmark id to wrap. * @return A {@link ClientId} that represents this BookmarkId. */ public static ClientId createClientIdForBookmarkId(BookmarkId id) { if (id == null) return null; return new ClientId(OfflinePageBridge.BOOKMARK_NAMESPACE, id.toString()); }