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

Issue 10543037: gdata: Convert public synchronous functions in GDataFileSystem to asynchronous. (Closed)

Created:
8 years, 6 months ago by hshi1
Modified:
8 years, 6 months ago
Reviewers:
satorux1, tbarzic
CC:
chromium-reviews, achuith+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

gdata: Get rid of GDataFileSystem::GetFileInfoByPath() This is part 1 of converting public synchronous functions in GDataFileSystem to asynchronous. Eliminate the helper class GDataFileProperties and the public synchronous function GetFileInfoByPath(). BUG=127048 TEST=unit_tests, browser_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141262

Patch Set 1 : #

Total comments: 35

Patch Set 2 : Address Satoru's and Toni's concerns. #

Total comments: 12

Patch Set 3 : Rebase svn:trunk/src@141224. #

Total comments: 4

Patch Set 4 : Address Toni's comments @ 06/08/12 10:59AM PDT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -160 lines) Patch
M chrome/browser/chromeos/extensions/file_handler_util.h View 1 2 3 2 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_handler_util.cc View 1 2 3 4 chunks +47 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 2 5 chunks +21 lines, -27 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 8 chunks +58 lines, -70 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_proxy.h View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc View 2 chunks +29 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_util.h View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_util.cc View 1 2 3 3 chunks +82 lines, -36 lines 0 comments Download
M chrome/browser/chromeos/gdata/mock_gdata_file_system.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
hshi1
Hi Satoru, Toni -- this bug (127048) requires refactoring 3 public synchronous functions of GDataFileSystem, ...
8 years, 6 months ago (2012-06-07 20:28:20 UTC) #1
satorux1
Nice work! Please rewrite the patch description so we have the most descriptive information on ...
8 years, 6 months ago (2012-06-07 22:47:17 UTC) #2
tbarzic
https://chromiumcodereview.appspot.com/10543037/diff/6005/chrome/browser/chromeos/extensions/file_handler_util.cc File chrome/browser/chromeos/extensions/file_handler_util.cc (right): https://chromiumcodereview.appspot.com/10543037/diff/6005/chrome/browser/chromeos/extensions/file_handler_util.cc#newcode365 chrome/browser/chromeos/extensions/file_handler_util.cc:365: executor_, why do you create callback here instead in ...
8 years, 6 months ago (2012-06-07 22:47:56 UTC) #3
hshi1
Please see Patch Set #2 (comments are in the review page), thanks! http://codereview.chromium.org/10543037/diff/6005/chrome/browser/chromeos/extensions/file_handler_util.cc File chrome/browser/chromeos/extensions/file_handler_util.cc ...
8 years, 6 months ago (2012-06-08 00:22:05 UTC) #4
hshi1
By the way Toni just identified the problem in file_handler_util.cc where we should be passing ...
8 years, 6 months ago (2012-06-08 01:10:34 UTC) #5
hshi1
Hi please review the new Patch Set #3 (rebased to svn:trunk/src@141224). This has merged Toni's ...
8 years, 6 months ago (2012-06-08 17:51:59 UTC) #6
tbarzic
https://chromiumcodereview.appspot.com/10543037/diff/6005/chrome/browser/chromeos/extensions/file_handler_util.cc File chrome/browser/chromeos/extensions/file_handler_util.cc (right): https://chromiumcodereview.appspot.com/10543037/diff/6005/chrome/browser/chromeos/extensions/file_handler_util.cc#newcode365 chrome/browser/chromeos/extensions/file_handler_util.cc:365: executor_, On 2012/06/08 00:22:05, hshi1 wrote: > Because several ...
8 years, 6 months ago (2012-06-08 17:59:13 UTC) #7
tbarzic
On 2012/06/08 17:59:13, tbarzic wrote: > https://chromiumcodereview.appspot.com/10543037/diff/6005/chrome/browser/chromeos/extensions/file_handler_util.cc > File chrome/browser/chromeos/extensions/file_handler_util.cc (right): > > https://chromiumcodereview.appspot.com/10543037/diff/6005/chrome/browser/chromeos/extensions/file_handler_util.cc#newcode365 > ...
8 years, 6 months ago (2012-06-08 17:59:46 UTC) #8
hshi1
Please review Patch Set #4. Thanks! http://codereview.chromium.org/10543037/diff/6005/chrome/browser/chromeos/extensions/file_handler_util.cc File chrome/browser/chromeos/extensions/file_handler_util.cc (right): http://codereview.chromium.org/10543037/diff/6005/chrome/browser/chromeos/extensions/file_handler_util.cc#newcode365 chrome/browser/chromeos/extensions/file_handler_util.cc:365: executor_, On 2012/06/08 ...
8 years, 6 months ago (2012-06-08 18:21:41 UTC) #9
satorux1
GDataFileSystem changes look good. Toni would be a better reviewer for other pieces of code. ...
8 years, 6 months ago (2012-06-08 18:23:52 UTC) #10
hshi1
These two should be fixed at Patch Set #4. Thanks! http://codereview.chromium.org/10543037/diff/7020/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10543037/diff/7020/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode1993 ...
8 years, 6 months ago (2012-06-08 18:25:09 UTC) #11
tbarzic
On 2012/06/08 18:25:09, hshi1 wrote: > These two should be fixed at Patch Set #4. ...
8 years, 6 months ago (2012-06-08 18:30:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/10543037/1014
8 years, 6 months ago (2012-06-08 18:41:48 UTC) #13
commit-bot: I haz the power
8 years, 6 months ago (2012-06-08 19:50:06 UTC) #14
Change committed as 141262

Powered by Google App Engine
This is Rietveld 408576698