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

Issue 438403002: Conver APIListDataSource to use Future.Then() rather than Get(). (Closed)

Created:
6 years, 4 months ago by not at google - send to devlin
Modified:
6 years, 4 months ago
Reviewers:
Yoyo Zhou, ahernandez
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Convert APIListDataSource to use Future.Then() rather than Get(). I needed to change the behaviour of Future.Then() to implement this. BUG=306341 R=yoz@chromium.org NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287633

Patch Set 1 #

Total comments: 6

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -33 lines) Patch
M chrome/common/extensions/docs/server2/api_list_data_source.py View 2 chunks +31 lines, -25 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/future.py View 1 1 chunk +27 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/future_test.py View 4 chunks +45 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
not at google - send to devlin
does this look sensible? https://codereview.chromium.org/438403002/diff/1/chrome/common/extensions/docs/server2/api_list_data_source.py File chrome/common/extensions/docs/server2/api_list_data_source.py (right): https://codereview.chromium.org/438403002/diff/1/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode62 chrome/common/extensions/docs/server2/api_list_data_source.py:62: platform).IterModels(): IterModels() might be a ...
6 years, 4 months ago (2014-08-05 18:47:18 UTC) #1
ahernandez
https://codereview.chromium.org/438403002/diff/1/chrome/common/extensions/docs/server2/future_test.py File chrome/common/extensions/docs/server2/future_test.py (right): https://codereview.chromium.org/438403002/diff/1/chrome/common/extensions/docs/server2/future_test.py#newcode164 chrome/common/extensions/docs/server2/future_test.py:164: self.assertEqual(val, 42) On 2014/08/05 18:47:18, kalman wrote: > assertEquals ...
6 years, 4 months ago (2014-08-05 18:58:23 UTC) #2
not at google - send to devlin
Btw this isn't related to this CL at all, but rather your other FutureLoop CL ...
6 years, 4 months ago (2014-08-05 20:01:26 UTC) #3
ahernandez
On 2014/08/05 20:01:26, kalman wrote: > Btw this isn't related to this CL at all, ...
6 years, 4 months ago (2014-08-05 20:35:24 UTC) #4
Yoyo Zhou
LGTM, I think it's reasonable. https://chromiumcodereview.appspot.com/438403002/diff/1/chrome/common/extensions/docs/server2/future.py File chrome/common/extensions/docs/server2/future.py (right): https://chromiumcodereview.appspot.com/438403002/diff/1/chrome/common/extensions/docs/server2/future.py#newcode73 chrome/common/extensions/docs/server2/future.py:73: If |callback| returns a ...
6 years, 4 months ago (2014-08-05 21:52:37 UTC) #5
not at google - send to devlin
On 2014/08/05 20:35:24, ahernandez wrote: > On 2014/08/05 20:01:26, kalman wrote: > > Btw this ...
6 years, 4 months ago (2014-08-05 22:51:42 UTC) #6
not at google - send to devlin
https://codereview.chromium.org/438403002/diff/1/chrome/common/extensions/docs/server2/future.py File chrome/common/extensions/docs/server2/future.py (right): https://codereview.chromium.org/438403002/diff/1/chrome/common/extensions/docs/server2/future.py#newcode73 chrome/common/extensions/docs/server2/future.py:73: If |callback| returns a Future then Then() will resolve ...
6 years, 4 months ago (2014-08-05 23:00:54 UTC) #7
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 4 months ago (2014-08-05 23:01:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/438403002/20001
6 years, 4 months ago (2014-08-05 23:03:53 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-05 23:06:20 UTC) #10
Message was sent while issue was closed.
Change committed as 287633

Powered by Google App Engine
This is Rietveld 408576698