Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Issue 428183004: Fix BookmarkNode MetaInfoMap copypasting for Mac (Closed)

Created:
6 years, 4 months ago by Jiang Jiang
Modified:
6 years, 4 months ago
Reviewers:
Avi (use Gerrit), sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix BookmarkNode MetaInfoMap copypasting for Mac Bookmark node meta info APIs is exposed Chrome to the Bookmark Manager extension for storing extra meta data for bookmarks. This API is also used by //components/enhanced_bookmarks/metadata_accessor.cc to store/access extra meta data such as associated image URL for a bookmark. Without this patch the meta data stored along with the bookmark will be lost when it has been cut/pasted. The same functionality works perfectly fine on non-Mac platforms, here we add the missing implementation for Mac. BUG=399010 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287024

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Avoid explicit autorelease #

Patch Set 4 : Support older runtime #

Patch Set 5 : In one line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -1 line) Patch
M components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm View 1 2 3 4 7 chunks +39 lines, -1 line 0 comments Download
M components/bookmarks/browser/bookmark_utils_unittest.cc View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Jiang Jiang
Can any of you take a look at this? Since avi is the one who ...
6 years, 4 months ago (2014-07-30 13:00:33 UTC) #1
sky
https://codereview.chromium.org/428183004/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm File components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm (right): https://codereview.chromium.org/428183004/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm#newcode160 components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm:160: NSDictionary* DictionaryFromBookmarkMetaInfo( I'm surprised we don't have some general ...
6 years, 4 months ago (2014-07-30 17:17:48 UTC) #2
Avi (use Gerrit)
Is there a bug for this? Can you put that in the "BUG=" line? I'm ...
6 years, 4 months ago (2014-07-30 17:37:40 UTC) #3
Avi (use Gerrit)
This LGTM. You should totally link in a bug to explain why. https://codereview.chromium.org/428183004/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm File components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm ...
6 years, 4 months ago (2014-07-30 17:45:10 UTC) #4
Jiang Jiang
On 2014/07/30 17:37:40, Avi wrote: > Is there a bug for this? Can you put ...
6 years, 4 months ago (2014-07-30 19:37:43 UTC) #5
Avi (use Gerrit)
On 2014/07/30 19:37:43, Jiang wrote: > On 2014/07/30 17:37:40, Avi wrote: > > Is there ...
6 years, 4 months ago (2014-07-30 19:41:02 UTC) #6
Jiang Jiang
On 2014/07/30 19:41:02, Avi wrote: > On 2014/07/30 19:37:43, Jiang wrote: > > On 2014/07/30 ...
6 years, 4 months ago (2014-07-30 19:51:50 UTC) #7
Avi (use Gerrit)
SLGTM
6 years, 4 months ago (2014-07-30 19:55:28 UTC) #8
Jiang Jiang
https://codereview.chromium.org/428183004/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm File components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm (right): https://codereview.chromium.org/428183004/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm#newcode160 components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm:160: NSDictionary* DictionaryFromBookmarkMetaInfo( On 2014/07/30 17:17:48, sky wrote: > I'm ...
6 years, 4 months ago (2014-07-31 10:05:56 UTC) #9
Jiang Jiang
The CQ bit was checked by jiangj@opera.com
6 years, 4 months ago (2014-07-31 10:06:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiangj@opera.com/428183004/40001
6 years, 4 months ago (2014-07-31 10:08:53 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-07-31 13:27:04 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-31 13:30:42 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/1234)
6 years, 4 months ago (2014-07-31 13:30:43 UTC) #14
Jiang Jiang
The CQ bit was checked by jiangj@opera.com
6 years, 4 months ago (2014-07-31 13:33:31 UTC) #15
Jiang Jiang
The CQ bit was unchecked by jiangj@opera.com
6 years, 4 months ago (2014-07-31 13:33:51 UTC) #16
Jiang Jiang
On 2014/07/30 17:17:48, sky wrote: > https://codereview.chromium.org/428183004/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm > File components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm (right): > > https://codereview.chromium.org/428183004/diff/1/components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm#newcode160 > ...
6 years, 4 months ago (2014-07-31 15:26:05 UTC) #17
sky
LGTM
6 years, 4 months ago (2014-07-31 15:45:34 UTC) #18
Jiang Jiang
The CQ bit was checked by jiangj@opera.com
6 years, 4 months ago (2014-07-31 15:47:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiangj@opera.com/428183004/80001
6 years, 4 months ago (2014-07-31 15:49:31 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-07-31 21:31:35 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-01 10:24:57 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/2275)
6 years, 4 months ago (2014-08-01 10:24:59 UTC) #23
Jiang Jiang
The CQ bit was checked by jiangj@opera.com
6 years, 4 months ago (2014-08-01 10:32:31 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiangj@opera.com/428183004/80001
6 years, 4 months ago (2014-08-01 10:35:23 UTC) #25
commit-bot: I haz the power
6 years, 4 months ago (2014-08-01 17:07:53 UTC) #26
Message was sent while issue was closed.
Change committed as 287024

Powered by Google App Engine
This is Rietveld 408576698