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

Issue 417163004: Docserver: Update Future.Then() to be more Promise-like (Closed)

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

Description

Docserver: Update Future.Then() to be more Promise-like BUG=306341 NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287482

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -41 lines) Patch
M chrome/common/extensions/docs/server2/caching_file_system.py View 3 chunks +11 lines, -17 lines 0 comments Download
M chrome/common/extensions/docs/server2/chroot_file_system.py View 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/server2/fake_url_fetcher.py View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/server2/file_system.py View 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/server2/future.py View 1 2 chunks +12 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/server2/future_test.py View 1 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/mock_file_system.py View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/server2/mock_file_system_test.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
ahernandez
This is the next patch in a series of CLs converting the def resolve() pattern ...
6 years, 4 months ago (2014-07-31 19:39:27 UTC) #1
Yoyo Zhou
https://chromiumcodereview.appspot.com/417163004/diff/20001/chrome/common/extensions/docs/server2/future.py File chrome/common/extensions/docs/server2/future.py (right): https://chromiumcodereview.appspot.com/417163004/diff/20001/chrome/common/extensions/docs/server2/future.py#newcode68 chrome/common/extensions/docs/server2/future.py:68: def Then(self, callback, error_handler=_DefaultErrorHandler): This should come with tests. ...
6 years, 4 months ago (2014-08-01 22:03:19 UTC) #2
ahernandez
I added tests and modified the Then() logic, PTAL. https://chromiumcodereview.appspot.com/417163004/diff/20001/chrome/common/extensions/docs/server2/future.py File chrome/common/extensions/docs/server2/future.py (right): https://chromiumcodereview.appspot.com/417163004/diff/20001/chrome/common/extensions/docs/server2/future.py#newcode68 chrome/common/extensions/docs/server2/future.py:68: ...
6 years, 4 months ago (2014-08-04 18:51:19 UTC) #3
Yoyo Zhou
LGTM
6 years, 4 months ago (2014-08-04 23:22:18 UTC) #4
ahernandez
The CQ bit was checked by ahernandez.miralles@gmail.com
6 years, 4 months ago (2014-08-04 23:47:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ahernandez.miralles@gmail.com/417163004/40001
6 years, 4 months ago (2014-08-04 23:48:49 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-05 07:46:11 UTC) #7
Message was sent while issue was closed.
Change committed as 287482

Powered by Google App Engine
This is Rietveld 408576698