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

Issue 10634020: [FileManager] Do drive search incrementally (Closed)

Created:
8 years, 6 months ago by tbarzic
Modified:
8 years, 4 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, nkostylev+watch_chromium.org, jochen+watch-content_chromium.org, jam, achuith+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, rginda+watch_chromium.org, arv (Not doing code reviews), darin-cc_chromium.org, oshima+watch_chromium.org, brettw-cc_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

[FileManager] Do drive search incrementally Instead of fetching whole drive search result feed at once, do it incrementally, (max) 100 documents at the time. This way we get some results sooner (while the rest of the results is being fetched), so search feels more smooth. BUG=138274 TEST=manual TBR=darin Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149995

Patch Set 1 #

Patch Set 2 : c++ cleanup #

Patch Set 3 : ditt #

Patch Set 4 : js cleanup #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : rebase #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : .. #

Patch Set 11 : fix a comment #

Patch Set 12 : remove misc log #

Patch Set 13 : rebase #

Patch Set 14 : rebase #

Patch Set 15 : . #

Total comments: 22

Patch Set 16 : feedback #

Patch Set 17 : rebase + limit number of displayed search res #

Patch Set 18 : todo #

Total comments: 6

Patch Set 19 : rebase #

Patch Set 20 : nit that crept up while rebasing #

Total comments: 2

Patch Set 21 : rebase #

Patch Set 22 : clear no search results message on new search #

Patch Set 23 : fix trybots #

Patch Set 24 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -25 lines) Patch
M chrome/browser/chromeos/extensions/file_browser_private_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 12 chunks +20 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_operations.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/gdata/mock_gdata_file_system.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/file_manager/js/directory_contents.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +45 lines, -3 lines 0 comments Download
M chrome/browser/resources/file_manager/js/directory_model.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/file_browser_private.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +11 lines, -1 line 0 comments Download
M chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js View 1 1 chunk +9 lines, -4 lines 0 comments Download
M chrome/test/data/extensions/api_test/filebrowser_component/remote_search.js View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
tbarzic
Please, take a look.. Satoru: chromeos part Dmitry and Oleg: file manager part Antony: extensions ...
8 years, 5 months ago (2012-07-20 16:51:54 UTC) #1
satorux1
now looking. meanwhile, please file a bug for the issue you are solving here.
8 years, 5 months ago (2012-07-20 17:02:56 UTC) #2
satorux1
http://codereview.chromium.org/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode978 chrome/browser/chromeos/gdata/gdata_file_system.cc:978: GURL(), please add some comment http://codereview.chromium.org/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode1008 chrome/browser/chromeos/gdata/gdata_file_system.cc:1008: GURL(), ditto ...
8 years, 5 months ago (2012-07-20 17:13:03 UTC) #3
tbarzic
bug filed https://chromiumcodereview.appspot.com/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode978 chrome/browser/chromeos/gdata/gdata_file_system.cc:978: GURL(), On 2012/07/20 17:13:04, satorux1 wrote: > ...
8 years, 5 months ago (2012-07-20 17:51:42 UTC) #4
satorux1
https://chromiumcodereview.appspot.com/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2660 chrome/browser/chromeos/gdata/gdata_file_system.cc:2660: feed->GetNextFeedURL(&next_feed); On 2012/07/20 17:51:43, tbarzic wrote: > On 2012/07/20 ...
8 years, 5 months ago (2012-07-20 17:55:56 UTC) #5
tbarzic
https://chromiumcodereview.appspot.com/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2660 chrome/browser/chromeos/gdata/gdata_file_system.cc:2660: feed->GetNextFeedURL(&next_feed); On 2012/07/20 17:55:56, satorux1 wrote: > On 2012/07/20 ...
8 years, 5 months ago (2012-07-20 18:32:19 UTC) #6
satorux1
On 2012/07/20 18:32:19, tbarzic wrote: > https://chromiumcodereview.appspot.com/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc > File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): > > https://chromiumcodereview.appspot.com/10634020/diff/18004/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2660 > ...
8 years, 5 months ago (2012-07-20 22:00:21 UTC) #7
asargent_no_longer_on_chrome
chrome/{common,renderer}/extensions LGTM http://codereview.chromium.org/10634020/diff/14040/chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js File chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js (right): http://codereview.chromium.org/10634020/diff/14040/chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js#newcode37 chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js:37: response = {}; nit: I think this ...
8 years, 5 months ago (2012-07-20 22:59:02 UTC) #8
tbarzic
https://chromiumcodereview.appspot.com/10634020/diff/14040/chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js File chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js (right): https://chromiumcodereview.appspot.com/10634020/diff/14040/chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js#newcode37 chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js:37: response = {}; On 2012/07/20 22:59:02, Antony Sargent wrote: ...
8 years, 5 months ago (2012-07-20 23:57:53 UTC) #9
satorux1
under /chromeos/ lgtm. http://codereview.chromium.org/10634020/diff/14040/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10634020/diff/14040/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2659 chrome/browser/chromeos/gdata/gdata_file_system.cc:2659: // TODO(tbarzic): Limit total number of ...
8 years, 5 months ago (2012-07-21 06:52:29 UTC) #10
asargent_no_longer_on_chrome
https://chromiumcodereview.appspot.com/10634020/diff/14040/chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js File chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js (right): https://chromiumcodereview.appspot.com/10634020/diff/14040/chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js#newcode37 chrome/renderer/resources/extensions/file_browser_private_custom_bindings.js:37: response = {}; On 2012/07/20 23:57:54, tbarzic wrote: > ...
8 years, 5 months ago (2012-07-23 15:59:36 UTC) #11
tbarzic
http://codereview.chromium.org/10634020/diff/14040/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10634020/diff/14040/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode2659 chrome/browser/chromeos/gdata/gdata_file_system.cc:2659: // TODO(tbarzic): Limit total number of returned results for ...
8 years, 5 months ago (2012-07-23 19:38:00 UTC) #12
tbarzic
Just seen that Dmitry is on a vacation; so adding Sergey. Oleg: ping :)
8 years, 4 months ago (2012-07-30 18:15:18 UTC) #13
Oleg Eterevsky
LGTM http://codereview.chromium.org/10634020/diff/31001/chrome/browser/chromeos/gdata/gdata_operations.cc File chrome/browser/chromeos/gdata/gdata_operations.cc (right): http://codereview.chromium.org/10634020/diff/31001/chrome/browser/chromeos/gdata/gdata_operations.cc#newcode55 chrome/browser/chromeos/gdata/gdata_operations.cc:55: #ifndef NDEBUG Do we need this #ifndef? It ...
8 years, 4 months ago (2012-07-31 11:04:48 UTC) #14
tbarzic
http://codereview.chromium.org/10634020/diff/31001/chrome/browser/chromeos/gdata/gdata_operations.cc File chrome/browser/chromeos/gdata/gdata_operations.cc (right): http://codereview.chromium.org/10634020/diff/31001/chrome/browser/chromeos/gdata/gdata_operations.cc#newcode55 chrome/browser/chromeos/gdata/gdata_operations.cc:55: #ifndef NDEBUG On 2012/07/31 11:04:49, Oleg wrote: > Do ...
8 years, 4 months ago (2012-07-31 17:46:48 UTC) #15
tbarzic
+kaznacheev (i need an owner lgtm for file manager)
8 years, 4 months ago (2012-08-02 06:32:47 UTC) #16
Vladislav Kaznacheev
lgtm
8 years, 4 months ago (2012-08-03 08:38:18 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/10634020/34009
8 years, 4 months ago (2012-08-03 23:56:15 UTC) #18
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/gdata/gdata_operations.cc: While running patch -p1 --forward --force; patching file chrome/browser/chromeos/gdata/gdata_operations.cc ...
8 years, 4 months ago (2012-08-03 23:56:19 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/10634020/30025
8 years, 4 months ago (2012-08-04 00:02:28 UTC) #20
commit-bot: I haz the power
Presubmit check for 10634020-30025 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-04 00:02:35 UTC) #21
tbarzic
On 2012/08/04 00:02:35, I haz the power (commit-bot) wrote: > Presubmit check for 10634020-30025 failed ...
8 years, 4 months ago (2012-08-04 00:10:22 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/10634020/30025
8 years, 4 months ago (2012-08-04 00:11:26 UTC) #23
commit-bot: I haz the power
8 years, 4 months ago (2012-08-04 02:10:30 UTC) #24
Change committed as 149995

Powered by Google App Engine
This is Rietveld 408576698