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

Issue 2740713002: Show alert when failed to get token for opening suggested apps dialog. (Closed)

Created:
3 years, 9 months ago by yamaguchi
Modified:
3 years, 9 months ago
Reviewers:
fukino
CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show alert when failed to get token for opening suggested apps dialog. This will fix the regression where opening a ZIP file in the Guest mode gives no feedback. BUG=694419 TEST=Manually tested by opening a zip file in Guest mode. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2740713002 Cr-Commit-Position: refs/heads/master@{#455631} Committed: https://chromium.googlesource.com/chromium/src/+/8cc2674aa0a8f9da76f18fc55bd8adf4a4730a3b

Patch Set 1 #

Total comments: 4

Patch Set 2 : Don't set the private variable as it'd not be read in the code path. #

Patch Set 3 : Equally finalize the widget even when token not obtained, to keep the existing behavior. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js View 1 2 2 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
yamaguchi
PTAL
3 years, 9 months ago (2017-03-08 09:11:54 UTC) #6
fukino
https://codereview.chromium.org/2740713002/diff/1/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js File ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js (right): https://codereview.chromium.org/2740713002/diff/1/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js#newcode272 ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js:272: this.result_ = SuggestAppsDialog.Result.FAILED; - Do we have to set ...
3 years, 9 months ago (2017-03-08 11:38:41 UTC) #9
yamaguchi
https://codereview.chromium.org/2740713002/diff/1/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js File ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js (right): https://codereview.chromium.org/2740713002/diff/1/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js#newcode272 ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js:272: this.result_ = SuggestAppsDialog.Result.FAILED; On 2017/03/08 11:38:41, fukino wrote: > ...
3 years, 9 months ago (2017-03-08 12:22:18 UTC) #10
fukino
https://codereview.chromium.org/2740713002/diff/1/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js File ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js (right): https://codereview.chromium.org/2740713002/diff/1/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js#newcode272 ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js:272: this.result_ = SuggestAppsDialog.Result.FAILED; > > - Don't we have ...
3 years, 9 months ago (2017-03-08 12:51:59 UTC) #11
yamaguchi
https://codereview.chromium.org/2740713002/diff/1/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js File ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js (right): https://codereview.chromium.org/2740713002/diff/1/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js#newcode272 ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js:272: this.result_ = SuggestAppsDialog.Result.FAILED; On 2017/03/08 12:51:58, fukino wrote: > ...
3 years, 9 months ago (2017-03-08 13:23:55 UTC) #14
fukino
lgtm, thanks!
3 years, 9 months ago (2017-03-08 14:03:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2740713002/40001
3 years, 9 months ago (2017-03-09 01:24:07 UTC) #19
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 01:45:17 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8cc2674aa0a8f9da76f18fc55bd8...

Powered by Google App Engine
This is Rietveld 408576698