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

Issue 660513002: BookmarksFunction sending response after execution in all cases (Closed)

Created:
6 years, 2 months ago by atanasb
Modified:
6 years, 1 month ago
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

BookmarksFunction sending response after execution in all cases On some occasions (most likely on big bookmarks models), BookmarksFunction might be executed while bookmarks model is not yet ready. In this case we must schedule the function for later execution (when model is ready) and once function has executed we must SendResponse(). Adding SendResponse() in the above described scenario. BUG=None Committed: https://crrev.com/5e25a3281098f5ba5f73659c6732a7ac01a3068a Cr-Commit-Position: refs/heads/master@{#300744}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M chrome/browser/extensions/api/bookmarks/bookmarks_api.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmarks_api.cc View 1 2 chunks +13 lines, -9 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
atanasb
Guys, does this patch looks good to you?
6 years, 2 months ago (2014-10-15 14:19:03 UTC) #2
tfarina
Redirecting this to Benjamin. At first, it looks fine. https://codereview.chromium.org/660513002/diff/1/chrome/browser/extensions/api/bookmarks/bookmarks_api.cc File chrome/browser/extensions/api/bookmarks/bookmarks_api.cc (right): https://codereview.chromium.org/660513002/diff/1/chrome/browser/extensions/api/bookmarks/bookmarks_api.cc#newcode226 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc:226: ...
6 years, 2 months ago (2014-10-16 19:08:26 UTC) #4
not at google - send to devlin
lgtm https://codereview.chromium.org/660513002/diff/1/chrome/browser/extensions/api/bookmarks/bookmarks_api.cc File chrome/browser/extensions/api/bookmarks/bookmarks_api.cc (right): https://codereview.chromium.org/660513002/diff/1/chrome/browser/extensions/api/bookmarks/bookmarks_api.cc#newcode226 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc:226: RunAndSendResponse(); On 2014/10/16 19:08:25, tfarina wrote: > I ...
6 years, 2 months ago (2014-10-16 19:40:21 UTC) #5
atanasb
Thanks for the review kalman. Can you please suggest another reviewer for this patch.
6 years, 2 months ago (2014-10-21 21:21:25 UTC) #7
not at google - send to devlin
You don't need any other reviewers?
6 years, 2 months ago (2014-10-21 21:23:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660513002/1
6 years, 2 months ago (2014-10-22 12:40:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660513002/1
6 years, 2 months ago (2014-10-22 12:41:16 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/72001) android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/26489) android_chromium_gn_compile_dbg ...
6 years, 2 months ago (2014-10-22 12:45:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660513002/20001
6 years, 2 months ago (2014-10-22 14:37:14 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/3637) linux_chromium_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel/builds/1419)
6 years, 2 months ago (2014-10-22 17:06:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660513002/20001
6 years, 2 months ago (2014-10-22 18:07:33 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/3825) linux_chromium_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel/builds/1738)
6 years, 2 months ago (2014-10-22 19:28:26 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660513002/20001
6 years, 2 months ago (2014-10-22 19:47:19 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-22 20:25:58 UTC) #26
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 20:28:32 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5e25a3281098f5ba5f73659c6732a7ac01a3068a
Cr-Commit-Position: refs/heads/master@{#300744}

Powered by Google App Engine
This is Rietveld 408576698