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

Issue 386633003: kiosk: Retry failed app data fetch. (Closed)

Created:
6 years, 5 months ago by xiyuan
Modified:
6 years, 5 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

kiosk: Retry failed app data fetch. - Add KioskAppManager::RetryFailedAppDataFetch that starts fetch for failed app data fetch (status == STATUS_ERROR); - RetryFailedAppDataFetch when kiosk app is added/removed (include policy refrech); - RetryFailedAppDataFetch on login screen when portal detection is passed; - Add max auto retry times for underlying URLFetcher's 5xx retry and ERR_NETWORK_CHANGED retry in WebstoreDataFetcher; - KioskAppData sets max retry times to 3 for its webstore data fetch; BUG=392670 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282577

Patch Set 1 #

Total comments: 4

Patch Set 2 : minor tweak to use URLFetcher default behavior rather than set 0 retry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -8 lines) Patch
M chrome/browser/chromeos/app_mode/kiosk_app_data.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_manager.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_data_fetcher.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_data_fetcher.cc View 1 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h View 3 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc View 3 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
xiyuan
"Apps" menu on login screen only shows up when webstore data is successfully fetched. Currently, ...
6 years, 5 months ago (2014-07-10 17:26:25 UTC) #1
zel
lgtm
6 years, 5 months ago (2014-07-10 17:29:27 UTC) #2
asargent_no_longer_on_chrome
lgtm w/ one question https://codereview.chromium.org/386633003/diff/1/chrome/browser/extensions/webstore_data_fetcher.cc File chrome/browser/extensions/webstore_data_fetcher.cc (right): https://codereview.chromium.org/386633003/diff/1/chrome/browser/extensions/webstore_data_fetcher.cc#newcode47 chrome/browser/extensions/webstore_data_fetcher.cc:47: webstore_data_url_fetcher_->SetMaxRetriesOn5xx(max_auto_retries_); Should you only call ...
6 years, 5 months ago (2014-07-10 23:08:34 UTC) #3
xiyuan
https://codereview.chromium.org/386633003/diff/1/chrome/browser/extensions/webstore_data_fetcher.cc File chrome/browser/extensions/webstore_data_fetcher.cc (right): https://codereview.chromium.org/386633003/diff/1/chrome/browser/extensions/webstore_data_fetcher.cc#newcode47 chrome/browser/extensions/webstore_data_fetcher.cc:47: webstore_data_url_fetcher_->SetMaxRetriesOn5xx(max_auto_retries_); On 2014/07/10 23:08:34, Antony Sargent wrote: > Should ...
6 years, 5 months ago (2014-07-10 23:23:13 UTC) #4
asargent_no_longer_on_chrome
https://codereview.chromium.org/386633003/diff/1/chrome/browser/extensions/webstore_data_fetcher.cc File chrome/browser/extensions/webstore_data_fetcher.cc (right): https://codereview.chromium.org/386633003/diff/1/chrome/browser/extensions/webstore_data_fetcher.cc#newcode47 chrome/browser/extensions/webstore_data_fetcher.cc:47: webstore_data_url_fetcher_->SetMaxRetriesOn5xx(max_auto_retries_); On 2014/07/10 23:23:13, xiyuan wrote: > On 2014/07/10 ...
6 years, 5 months ago (2014-07-10 23:49:07 UTC) #5
xiyuan
https://codereview.chromium.org/386633003/diff/1/chrome/browser/extensions/webstore_data_fetcher.cc File chrome/browser/extensions/webstore_data_fetcher.cc (right): https://codereview.chromium.org/386633003/diff/1/chrome/browser/extensions/webstore_data_fetcher.cc#newcode47 chrome/browser/extensions/webstore_data_fetcher.cc:47: webstore_data_url_fetcher_->SetMaxRetriesOn5xx(max_auto_retries_); On 2014/07/10 23:49:06, Antony Sargent wrote: > On ...
6 years, 5 months ago (2014-07-11 04:05:44 UTC) #6
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 5 months ago (2014-07-11 04:07:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/386633003/20001
6 years, 5 months ago (2014-07-11 04:08:38 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-11 05:42:16 UTC) #9
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 07:20:49 UTC) #10
Message was sent while issue was closed.
Change committed as 282577

Powered by Google App Engine
This is Rietveld 408576698