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

Issue 330983002: Added option to bookmarkManagerPrivate.getMetaInfo() to get meta info from all bookmarks in a one f… (Closed)

Created:
6 years, 6 months ago by yefimt
Modified:
6 years, 6 months ago
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Added option to bookmarkManagerPrivate.getMetaInfo() to get meta info from all bookmarks in a one function call. Needed to improve stars extension performance. BUG=383600 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278231

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 11

Patch Set 4 : #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -17 lines) Patch
M chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc View 1 2 3 4 5 1 chunk +34 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmark_api_constants.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmark_api_constants.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/bookmark_manager_private.json View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
yefimt
Please take a look
6 years, 6 months ago (2014-06-14 00:10:23 UTC) #1
not at google - send to devlin
Rune, Mike, are one of you able to review these changes?
6 years, 6 months ago (2014-06-15 17:34:43 UTC) #2
Mike Wittman
On 2014/06/15 17:34:43, kalman wrote: > Rune, Mike, are one of you able to review ...
6 years, 6 months ago (2014-06-16 16:25:21 UTC) #3
Mike Wittman
lgtm https://codereview.chromium.org/330983002/diff/1/chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc File chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc (right): https://codereview.chromium.org/330983002/diff/1/chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc#newcode691 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc:691: } else { If we're not supporting the ...
6 years, 6 months ago (2014-06-16 17:47:35 UTC) #4
yefimt
https://codereview.chromium.org/330983002/diff/1/chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc File chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc (right): https://codereview.chromium.org/330983002/diff/1/chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc#newcode691 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc:691: } else { On 2014/06/16 17:47:34, Mike Wittman wrote: ...
6 years, 6 months ago (2014-06-16 19:04:01 UTC) #5
yefimt
The CQ bit was checked by yefim@chromium.org
6 years, 6 months ago (2014-06-16 19:04:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yefim@chromium.org/330983002/40001
6 years, 6 months ago (2014-06-16 19:05:39 UTC) #7
not at google - send to devlin
https://codereview.chromium.org/330983002/diff/40001/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc File chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc (right): https://codereview.chromium.org/330983002/diff/40001/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc#newcode152 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc:152: } be consistent, either use {} on 1-line ifs/fors ...
6 years, 6 months ago (2014-06-16 19:09:13 UTC) #8
not at google - send to devlin
can you write some tests?
6 years, 6 months ago (2014-06-16 19:09:40 UTC) #9
yefimt
https://codereview.chromium.org/330983002/diff/40001/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc File chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc (right): https://codereview.chromium.org/330983002/diff/40001/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc#newcode152 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc:152: } On 2014/06/16 19:09:13, kalman wrote: > be consistent, ...
6 years, 6 months ago (2014-06-16 21:47:29 UTC) #10
not at google - send to devlin
https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json File chrome/common/extensions/api/bookmark_manager_private.json (right): https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json#newcode298 chrome/common/extensions/api/bookmark_manager_private.json:298: "description": "If a key was given, the value of ...
6 years, 6 months ago (2014-06-16 21:49:27 UTC) #11
yefimt
https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json File chrome/common/extensions/api/bookmark_manager_private.json (right): https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json#newcode298 chrome/common/extensions/api/bookmark_manager_private.json:298: "description": "If a key was given, the value of ...
6 years, 6 months ago (2014-06-16 21:56:20 UTC) #12
not at google - send to devlin
https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json File chrome/common/extensions/api/bookmark_manager_private.json (right): https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json#newcode298 chrome/common/extensions/api/bookmark_manager_private.json:298: "description": "If a key was given, the value of ...
6 years, 6 months ago (2014-06-16 21:59:47 UTC) #13
yefimt
https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json File chrome/common/extensions/api/bookmark_manager_private.json (right): https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json#newcode304 chrome/common/extensions/api/bookmark_manager_private.json:304: {"$ref": "MapMetaInfoFields"} I think it will be too confusing. ...
6 years, 6 months ago (2014-06-16 22:00:42 UTC) #14
not at google - send to devlin
https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json File chrome/common/extensions/api/bookmark_manager_private.json (right): https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json#newcode304 chrome/common/extensions/api/bookmark_manager_private.json:304: {"$ref": "MapMetaInfoFields"} On 2014/06/16 22:00:42, yefimt wrote: > I ...
6 years, 6 months ago (2014-06-16 22:02:02 UTC) #15
yefimt
https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json File chrome/common/extensions/api/bookmark_manager_private.json (right): https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json#newcode298 chrome/common/extensions/api/bookmark_manager_private.json:298: "description": "If a key was given, the value of ...
6 years, 6 months ago (2014-06-16 22:32:13 UTC) #16
not at google - send to devlin
https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json File chrome/common/extensions/api/bookmark_manager_private.json (right): https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json#newcode298 chrome/common/extensions/api/bookmark_manager_private.json:298: "description": "If a key was given, the value of ...
6 years, 6 months ago (2014-06-16 22:33:54 UTC) #17
yefimt
On 2014/06/16 22:33:54, kalman wrote: > https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json > File chrome/common/extensions/api/bookmark_manager_private.json (right): > > https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json#newcode298 > ...
6 years, 6 months ago (2014-06-16 22:37:39 UTC) #18
not at google - send to devlin
On 2014/06/16 22:37:39, yefimt wrote: > On 2014/06/16 22:33:54, kalman wrote: > > > https://codereview.chromium.org/330983002/diff/60001/chrome/common/extensions/api/bookmark_manager_private.json ...
6 years, 6 months ago (2014-06-16 22:38:36 UTC) #19
yefimt
On 2014/06/16 22:38:36, kalman wrote: > On 2014/06/16 22:37:39, yefimt wrote: > > On 2014/06/16 ...
6 years, 6 months ago (2014-06-16 23:07:07 UTC) #20
not at google - send to devlin
didn't look at bookmark_manager_private_api.cc, some nits in the other classes, lgtm otherwise. https://codereview.chromium.org/330983002/diff/100001/chrome/browser/extensions/api/bookmarks/bookmark_api_constants.cc File chrome/browser/extensions/api/bookmarks/bookmark_api_constants.cc ...
6 years, 6 months ago (2014-06-18 17:05:01 UTC) #21
yefimt
About unit tests, if you don't mind I'll do them in a separate CL https://codereview.chromium.org/330983002/diff/100001/chrome/browser/extensions/api/bookmarks/bookmark_api_constants.cc ...
6 years, 6 months ago (2014-06-18 17:29:29 UTC) #22
yefimt
The CQ bit was checked by yefim@chromium.org
6 years, 6 months ago (2014-06-18 17:49:32 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yefim@chromium.org/330983002/120001
6 years, 6 months ago (2014-06-18 17:51:15 UTC) #24
yefimt
The CQ bit was unchecked by yefim@chromium.org
6 years, 6 months ago (2014-06-18 22:08:03 UTC) #25
yefimt
The CQ bit was checked by yefim@chromium.org
6 years, 6 months ago (2014-06-18 22:08:17 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yefim@chromium.org/330983002/120001
6 years, 6 months ago (2014-06-18 22:08:44 UTC) #27
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 01:38:46 UTC) #28
Message was sent while issue was closed.
Change committed as 278231

Powered by Google App Engine
This is Rietveld 408576698