|
|
Chromium Code Reviews
Description[MD Bookmarks] Make the bookmarks extensions API available to MD Bookmarks.
This CL adds the chrome://bookmarks webui to the allowed users of the
chrome.bookmarks API.
BUG=658980
Committed: https://crrev.com/06087bd8b11b6e75ab272fa5522b8eb1e14e4313
Cr-Commit-Position: refs/heads/master@{#432700}
Patch Set 1 #Patch Set 2 : use default_parent #Patch Set 3 : fix test #
Messages
Total messages: 24 (12 generated)
Description was changed from ========== [MD Bookmarks] Make the bookmarks extensions API available to MD Bookmarks. BUG=658980 ========== to ========== [MD Bookmarks] Make the bookmarks extensions API available to MD Bookmarks. This CL adds the chrome://bookmarks webui to the allowed users of the chrome.bookmarks API. This required a change to the bookmarks.import/export api feature definitions because list features that are parents aren't allowed. BUG=658980 ==========
calamity@chromium.org changed reviewers: + rdevlin.cronin@chromium.org
Hey, I tried just adding stuff as per usual and it broke the build because SetParent in feature_compiler.py doesn't understand lists as parents. So I changed the children of bookmarks to be non-parented and copied the parts the compiler was copying. Any better ideas? Thanks.
On 2016/11/10 07:14:45, calamity wrote: > Hey, I tried just adding stuff as per usual and it broke the build because > SetParent in feature_compiler.py doesn't understand lists as parents. So I > changed the children of bookmarks to be non-parented and copied the parts the > compiler was copying. > > Any better ideas? > > Thanks. If you want to use a complex feature (list) as the parent, children must specify the "default_parent" attribute - otherwise, the feature system doesn't know which parent to inherit from. For future reference, we (finally!) have documentation for this: https://chromium.googlesource.com/chromium/src/+/master/chrome/common/extensi...
Description was changed from ========== [MD Bookmarks] Make the bookmarks extensions API available to MD Bookmarks. This CL adds the chrome://bookmarks webui to the allowed users of the chrome.bookmarks API. This required a change to the bookmarks.import/export api feature definitions because list features that are parents aren't allowed. BUG=658980 ========== to ========== [MD Bookmarks] Make the bookmarks extensions API available to MD Bookmarks. This CL adds the chrome://bookmarks webui to the allowed users of the chrome.bookmarks API. BUG=658980 ==========
Ah cool. Fixed, thanks! I got confused when the compiler error was at feature_compiler.py:395, saying deep_copy wasn't available on lists. Maybe a better error message if the parent is a list would help here too.
On 2016/11/15 02:51:02, calamity wrote: > Ah cool. Fixed, thanks! > > I got confused when the compiler error was at feature_compiler.py:395, saying > deep_copy wasn't available on lists. > > Maybe a better error message if the parent is a list would help here too. Yeah, we should do that. :) Feel free to file a bug against me!
lgtm
The CQ bit was checked by calamity@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by calamity@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Had to change a test that expected a SimpleFeature but was getting a ComplexFeature since I changed bookmarks. Just retargeted the test at a SimpleFeature API.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2016/11/16 06:42:28, calamity wrote: > Had to change a test that expected a SimpleFeature but was getting a > ComplexFeature since I changed bookmarks. Just retargeted the test at a > SimpleFeature API. s lgtm.
The CQ bit was checked by calamity@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [MD Bookmarks] Make the bookmarks extensions API available to MD Bookmarks. This CL adds the chrome://bookmarks webui to the allowed users of the chrome.bookmarks API. BUG=658980 ========== to ========== [MD Bookmarks] Make the bookmarks extensions API available to MD Bookmarks. This CL adds the chrome://bookmarks webui to the allowed users of the chrome.bookmarks API. BUG=658980 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== [MD Bookmarks] Make the bookmarks extensions API available to MD Bookmarks. This CL adds the chrome://bookmarks webui to the allowed users of the chrome.bookmarks API. BUG=658980 ========== to ========== [MD Bookmarks] Make the bookmarks extensions API available to MD Bookmarks. This CL adds the chrome://bookmarks webui to the allowed users of the chrome.bookmarks API. BUG=658980 Committed: https://crrev.com/06087bd8b11b6e75ab272fa5522b8eb1e14e4313 Cr-Commit-Position: refs/heads/master@{#432700} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/06087bd8b11b6e75ab272fa5522b8eb1e14e4313 Cr-Commit-Position: refs/heads/master@{#432700} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
