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

Issue 10836285: Refactor GDataWapiFeedLoader::LoadFromServer() parameters (Closed)

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

Description

Refactor GDataWapiFeedLoader::LoadFromServer() parameters All the parameters for LoadFromServer() is consolidated in struct LoadFeedParams, and the function is made private in GDataWapiFeedLoader class. Instead, SearchFromServer() and LoadDirectoryFromServer() public methods are added to the class. |should_fetch_multiple_feeds| parameter was never used with false value, so it is removed. BUG=141359 TEST=all tests pass, manually check file browser works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152252

Patch Set 1 : . #

Total comments: 1

Patch Set 2 : Add SearchFromServer() interface. #

Patch Set 3 : Remove boolean should_fetch_multiple_feeds #

Patch Set 4 : introduce LoadDirectoryFromServer #

Patch Set 5 : Make struct and LoadFromServer() private. #

Total comments: 9

Patch Set 6 : update comments. #

Total comments: 1

Patch Set 7 : update comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -161 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 2 chunks +4 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h View 1 2 3 4 5 6 5 chunks +19 lines, -30 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc View 1 2 3 4 5 15 chunks +112 lines, -111 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kochi
Hi Satoru, Could you review this? Thanks,
8 years, 4 months ago (2012-08-16 10:36:30 UTC) #1
satorux1
http://codereview.chromium.org/10836285/diff/2001/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h File chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h (right): http://codereview.chromium.org/10836285/diff/2001/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h#newcode107 chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h:107: }; hmm, rather than just putting a bunch of ...
8 years, 4 months ago (2012-08-16 10:56:29 UTC) #2
kochi
Thanks for the review! Made 2 public interface (SearchFromServer and LoadDirectoryFromServer) and made LoadFromServer private. ...
8 years, 4 months ago (2012-08-17 03:30:41 UTC) #3
satorux1
http://codereview.chromium.org/10836285/diff/6/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10836285/diff/6/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2034 chrome/browser/chromeos/gdata/gdata_file_system.cc:2034: file_path)); wow, six parameters are gone! Nice. http://codereview.chromium.org/10836285/diff/6/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2437 chrome/browser/chromeos/gdata/gdata_file_system.cc:2437: ...
8 years, 4 months ago (2012-08-17 11:01:31 UTC) #4
kochi
Thanks for the review! CL updated for the comments. http://chromiumcodereview.appspot.com/10836285/diff/6/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc File chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc (left): http://chromiumcodereview.appspot.com/10836285/diff/6/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc#oldcode157 chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc:157: ...
8 years, 4 months ago (2012-08-17 15:56:37 UTC) #5
satorux1
LGTM http://codereview.chromium.org/10836285/diff/4005/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h File chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h (right): http://codereview.chromium.org/10836285/diff/4005/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h#newcode133 chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h:133: // must not be null. nit: move the ...
8 years, 4 months ago (2012-08-17 16:00:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/10836285/15001
8 years, 4 months ago (2012-08-17 16:44:10 UTC) #7
commit-bot: I haz the power
Try job failure for 10836285-15001 (retry) on win_rel for steps "interactive_ui_tests, browser_tests" (clobber build). It's ...
8 years, 4 months ago (2012-08-17 20:52:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/10836285/15001
8 years, 4 months ago (2012-08-18 06:28:31 UTC) #9
commit-bot: I haz the power
8 years, 4 months ago (2012-08-18 08:57:45 UTC) #10
Change committed as 152252

Powered by Google App Engine
This is Rietveld 408576698