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

Issue 10808027: gdrive: Get JSON feeds parsing off the UI thread. (Closed)

Created:
8 years, 5 months ago by yoshiki
Modified:
8 years, 4 months ago
Reviewers:
hashimoto
CC:
chromium-reviews, achuith+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

gdrive: Get JSON feeds parsing off the UI thread. BUG=128378 TEST=unit_tests:GData* and browser_tests:GData* passes. using TBR for gyp changes TBR=thakis@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148990 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149140

Patch Set 1 #

Total comments: 16

Patch Set 2 : review fix #

Patch Set 3 : Call NotifyFinish/NotifySuccess after parse. #

Total comments: 9

Patch Set 4 : fix reviews and rebase #

Total comments: 4

Patch Set 5 : review fix #

Patch Set 6 : making OnDataParsed() a private method of GetDataOperation #

Total comments: 12

Patch Set 7 : review fix #

Patch Set 8 : Rebase and Fix conflict and build error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -64 lines) Patch
M chrome/browser/chromeos/gdata/gdata_documents_service_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_operations.h View 1 2 3 4 5 6 7 5 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_operations.cc View 1 2 3 4 5 6 7 10 chunks +17 lines, -15 lines 0 comments Download
A chrome/browser/chromeos/gdata/gdata_operations_unittest.cc View 1 2 3 4 5 1 chunk +185 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/operations_base.h View 1 2 3 4 5 6 7 4 chunks +17 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/gdata/operations_base.cc View 1 2 3 4 5 6 7 5 chunks +92 lines, -38 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
yoshiki
re-uploading https://chromiumcodereview.appspot.com/10799018/
8 years, 5 months ago (2012-07-19 02:56:23 UTC) #1
hashimoto
https://chromiumcodereview.appspot.com/10808027/diff/1/chrome/browser/chromeos/gdata/gdata_operations_unittest.cc File chrome/browser/chromeos/gdata/gdata_operations_unittest.cc (right): https://chromiumcodereview.appspot.com/10808027/diff/1/chrome/browser/chromeos/gdata/gdata_operations_unittest.cc#newcode70 chrome/browser/chromeos/gdata/gdata_operations_unittest.cc:70: void GetDataOperationParseJsonCallback(GDataErrorCode* error_out, nit: Move this function into the ...
8 years, 5 months ago (2012-07-19 03:57:57 UTC) #2
yoshiki
https://chromiumcodereview.appspot.com/10808027/diff/1/chrome/browser/chromeos/gdata/gdata_operations_unittest.cc File chrome/browser/chromeos/gdata/gdata_operations_unittest.cc (right): https://chromiumcodereview.appspot.com/10808027/diff/1/chrome/browser/chromeos/gdata/gdata_operations_unittest.cc#newcode70 chrome/browser/chromeos/gdata/gdata_operations_unittest.cc:70: void GetDataOperationParseJsonCallback(GDataErrorCode* error_out, On 2012/07/19 03:57:57, hashimoto wrote: > ...
8 years, 5 months ago (2012-07-19 04:58:45 UTC) #3
hashimoto
lgtm
8 years, 5 months ago (2012-07-19 05:10:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/10808027/6001
8 years, 5 months ago (2012-07-19 07:21:59 UTC) #5
commit-bot: I haz the power
Change committed as 147413
8 years, 5 months ago (2012-07-19 08:51:51 UTC) #6
yoshiki
hashimoto: Could you take a look again? On Patch set #2, NotifyFinish/NotifySuccess() are called before ...
8 years, 5 months ago (2012-07-19 17:03:47 UTC) #7
hashimoto
http://codereview.chromium.org/10808027/diff/6003/chrome/browser/chromeos/gdata/gdata_operations.cc File chrome/browser/chromeos/gdata/gdata_operations.cc (right): http://codereview.chromium.org/10808027/diff/6003/chrome/browser/chromeos/gdata/gdata_operations.cc#newcode540 chrome/browser/chromeos/gdata/gdata_operations.cc:540: result_callback.Run(true); nit: Code simply passing true/false is not easy ...
8 years, 5 months ago (2012-07-20 04:07:37 UTC) #8
yoshiki
http://codereview.chromium.org/10808027/diff/6003/chrome/browser/chromeos/gdata/gdata_operations.cc File chrome/browser/chromeos/gdata/gdata_operations.cc (right): http://codereview.chromium.org/10808027/diff/6003/chrome/browser/chromeos/gdata/gdata_operations.cc#newcode540 chrome/browser/chromeos/gdata/gdata_operations.cc:540: result_callback.Run(true); On 2012/07/20 04:07:37, hashimoto wrote: > nit: Code ...
8 years, 5 months ago (2012-07-24 16:58:31 UTC) #9
yoshiki
http://codereview.chromium.org/10808027/diff/6003/chrome/browser/chromeos/gdata/gdata_operations.cc File chrome/browser/chromeos/gdata/gdata_operations.cc (right): http://codereview.chromium.org/10808027/diff/6003/chrome/browser/chromeos/gdata/gdata_operations.cc#newcode540 chrome/browser/chromeos/gdata/gdata_operations.cc:540: result_callback.Run(true); On 2012/07/20 04:07:37, hashimoto wrote: > nit: Code ...
8 years, 5 months ago (2012-07-24 16:58:32 UTC) #10
yoshiki
8 years, 5 months ago (2012-07-24 19:47:00 UTC) #11
hashimoto
http://codereview.chromium.org/10808027/diff/6003/chrome/browser/chromeos/gdata/operations_base.h File chrome/browser/chromeos/gdata/operations_base.h (right): http://codereview.chromium.org/10808027/diff/6003/chrome/browser/chromeos/gdata/operations_base.h#newcode24 chrome/browser/chromeos/gdata/operations_base.h:24: typedef base::Callback<void(bool result)> ProcessURLFetchResultsCallBack; On 2012/07/24 16:58:32, yoshiki wrote: ...
8 years, 5 months ago (2012-07-25 06:14:21 UTC) #12
yoshiki
> How about making OnDataParsed() a private method of GetDataOperation? It's not better. I want ...
8 years, 5 months ago (2012-07-25 17:24:15 UTC) #13
yoshiki
http://codereview.chromium.org/10808027/diff/11002/chrome/browser/chromeos/gdata/gdata_operations.h File chrome/browser/chromeos/gdata/gdata_operations.h (right): http://codereview.chromium.org/10808027/diff/11002/chrome/browser/chromeos/gdata/gdata_operations.h#newcode375 chrome/browser/chromeos/gdata/gdata_operations.h:375: On 2012/07/25 06:14:21, hashimoto wrote: > nit: Remove blank ...
8 years, 5 months ago (2012-07-25 17:24:27 UTC) #14
yoshiki
Sorry, my explanation below and Patch Set #5 are wrong. I'll upload new CL. On ...
8 years, 5 months ago (2012-07-25 18:55:14 UTC) #15
yoshiki
On 2012/07/25 18:55:14, yoshiki wrote: > On 2012/07/25 17:24:15, yoshiki wrote: > > > How ...
8 years, 5 months ago (2012-07-25 20:38:24 UTC) #16
hashimoto
http://codereview.chromium.org/10808027/diff/29012/chrome/browser/chromeos/gdata/operations_base.cc File chrome/browser/chromeos/gdata/operations_base.cc (right): http://codereview.chromium.org/10808027/diff/29012/chrome/browser/chromeos/gdata/operations_base.cc#newcode343 chrome/browser/chromeos/gdata/operations_base.cc:343: OnProcessURLFetchResultsComplete(true); Do something (replace true with "const bool success ...
8 years, 5 months ago (2012-07-26 02:08:44 UTC) #17
yoshiki
http://codereview.chromium.org/10808027/diff/29012/chrome/browser/chromeos/gdata/operations_base.cc File chrome/browser/chromeos/gdata/operations_base.cc (right): http://codereview.chromium.org/10808027/diff/29012/chrome/browser/chromeos/gdata/operations_base.cc#newcode343 chrome/browser/chromeos/gdata/operations_base.cc:343: OnProcessURLFetchResultsComplete(true); On 2012/07/26 02:08:44, hashimoto wrote: > Do something ...
8 years, 5 months ago (2012-07-26 17:31:40 UTC) #18
hashimoto
lgtm
8 years, 4 months ago (2012-07-27 02:35:49 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/10808027/23004
8 years, 4 months ago (2012-07-27 11:19:14 UTC) #20
commit-bot: I haz the power
Presubmit check for 10808027-23004 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-07-27 11:19:22 UTC) #21
hashimoto
On 2012/07/27 11:19:22, I haz the power (commit-bot) wrote: > Presubmit check for 10808027-23004 failed ...
8 years, 4 months ago (2012-07-27 12:48:45 UTC) #22
yoshiki
Thanks!
8 years, 4 months ago (2012-07-28 17:45:42 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/10808027/23004
8 years, 4 months ago (2012-07-28 17:49:02 UTC) #24
commit-bot: I haz the power
Try job failure for 10808027-23004 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 4 months ago (2012-07-28 23:05:17 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/10808027/23004
8 years, 4 months ago (2012-07-30 17:14:53 UTC) #26
commit-bot: I haz the power
Change committed as 148990
8 years, 4 months ago (2012-07-30 18:51:41 UTC) #27
yoshiki
Patch set #7 was conflicted with latest tot and causes the build error. Patch #8 ...
8 years, 4 months ago (2012-07-31 05:06:40 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/10808027/27013
8 years, 4 months ago (2012-07-31 05:06:57 UTC) #29
commit-bot: I haz the power
8 years, 4 months ago (2012-07-31 06:32:22 UTC) #30
Change committed as 149140

Powered by Google App Engine
This is Rietveld 408576698