[bookmarks] Add new private API functions to open bookmarks

To track/persist bookmark opens, callers need to pass a reason in when
accessing a bookmark's URL. This change adds a new API for the bookmark
manager which opens bookmarks based on bookmark_id. This allows a
reason to be passed through and the bookmark open tracked.

Bug: 1320950
Change-Id: I30a028855e1bd12345cd7d50e9b4844f17661efb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3616070
Reviewed-by: Sky Malice <skym@chromium.org>
Reviewed-by: Christopher Lam <calamity@chromium.org>
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Brandon Wylie <wylieb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1007499}
NOKEYCHECK=True
GitOrigin-RevId: 167937c360590090cd3d485f55a211533453612a
1 file changed