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

Issue 22297004: drive: Stop making multiple GetAppList() requests from DriveAppRegistry (Closed)

Created:
7 years, 4 months ago by hashimoto
Modified:
7 years, 4 months ago
Reviewers:
hidehiko, kinaba
CC:
chromium-reviews, tfarina, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

drive: Stop making multiple GetAppList() requests from DriveAppRegistry Calling DriveAppRegistry::Update() results in being ignored when there is an ongoing one already. Add FakeDriveService::app_list_load_count() BUG=268707 TEST=unit_tests R=hidehiko@chromium.org, kinaba@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215806

Patch Set 1 #

Patch Set 2 : simplify #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -4 lines) Patch
M chrome/browser/chromeos/drive/drive_app_registry.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/drive/drive_app_registry.cc View 1 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_app_registry_unittest.cc View 1 4 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/drive/fake_drive_service.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/drive/fake_drive_service.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/drive/fake_drive_service_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
hashimoto
7 years, 4 months ago (2013-08-06 04:02:30 UTC) #1
kinaba
I'm wondering if we can remove |needs_to_update_again_| and just discard Update() calls during an inflight ...
7 years, 4 months ago (2013-08-06 04:17:23 UTC) #2
hidehiko
On 2013/08/06 04:17:23, kinaba wrote: > I'm wondering if we can remove |needs_to_update_again_| > and ...
7 years, 4 months ago (2013-08-06 04:31:01 UTC) #3
kinaba
On 2013/08/06 04:31:01, hidehiko wrote: > On 2013/08/06 04:17:23, kinaba wrote: > > I'm wondering ...
7 years, 4 months ago (2013-08-06 05:02:16 UTC) #4
hashimoto
Simply ignoring Update() sounds good, done. (the previous patch set had a bug around error ...
7 years, 4 months ago (2013-08-06 05:12:02 UTC) #5
kinaba
lgtm
7 years, 4 months ago (2013-08-06 05:13:29 UTC) #6
hidehiko
lgtm
7 years, 4 months ago (2013-08-06 05:18:52 UTC) #7
hashimoto
7 years, 4 months ago (2013-08-06 05:54:28 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 manually as r215806 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698