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

Issue 475483003: Wire easy unlock settings UI (Closed)

Created:
6 years, 4 months ago by xiyuan
Modified:
6 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, asvitkine+watch_chromium.org, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Wire easy unlock settings UI - Add API to get/set/clear the pairing info into user prefs; - Add an onTurnFlowFinished event so that the app can clear its state; - Extend EasyUnlockService to store pairing info and provide turn-off flow support; - Update settings UI to trigger turn off flow and observe the turn-off flow status to show pending/error or dismiss when done; - Add EasyUnlockToggleFlow to wrap api calls to server; - Update OAuth2ApiFlow to support application/json content-type and handle 204 as success; BUG=397356, 394640 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290019

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix win compile #

Total comments: 14

Patch Set 3 : keep permitAccess, get rid of event and other comments #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+956 lines, -29 lines) Patch
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h View 1 2 3 4 2 chunks +77 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc View 1 2 3 4 1 chunk +98 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/easy_unlock_turn_off_overlay.js View 1 2 6 chunks +66 lines, -10 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service.h View 1 2 3 4 2 chunks +43 lines, -0 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service.cc View 1 2 3 4 5 6 chunks +130 lines, -1 line 0 comments Download
A chrome/browser/signin/easy_unlock_service_observer.h View 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/signin/easy_unlock_toggle_flow.h View 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/browser/signin/easy_unlock_toggle_flow.cc View 1 chunk +213 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 2 chunks +3 lines, -16 lines 0 comments Download
A chrome/browser/ui/webui/options/easy_unlock_handler.h View 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/easy_unlock_handler.cc View 1 chunk +107 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/options_ui.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/easy_unlock_private.idl View 1 2 3 4 4 chunks +63 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M google_apis/gaia/oauth2_api_call_flow.h View 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gaia/oauth2_api_call_flow.cc View 3 chunks +7 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
xiyuan
Suggested split: tengs/tbarzic: Please drive the review and you guys can split as you want. ...
6 years, 4 months ago (2014-08-13 23:26:47 UTC) #1
Ilya Sherman
histograms lgtm
6 years, 4 months ago (2014-08-13 23:45:53 UTC) #2
Tim Song
https://codereview.chromium.org/475483003/diff/20001/chrome/browser/signin/easy_unlock_service.cc File chrome/browser/signin/easy_unlock_service.cc (right): https://codereview.chromium.org/475483003/diff/20001/chrome/browser/signin/easy_unlock_service.cc#newcode268 chrome/browser/signin/easy_unlock_service.cc:268: ClearPermitAccess(); We shouldn't clear the permit access here. We ...
6 years, 4 months ago (2014-08-14 07:57:41 UTC) #3
tbarzic
lgtm https://codereview.chromium.org/475483003/diff/1/chrome/browser/resources/options/easy_unlock_turn_off_overlay.js File chrome/browser/resources/options/easy_unlock_turn_off_overlay.js (right): https://codereview.chromium.org/475483003/diff/1/chrome/browser/resources/options/easy_unlock_turn_off_overlay.js#newcode42 chrome/browser/resources/options/easy_unlock_turn_off_overlay.js:42: var oldState = this.uiState_; you don't use oldState ...
6 years, 4 months ago (2014-08-14 17:43:24 UTC) #4
Roger Tawa OOO till Jul 10th
google_apis\gaia lgtm
6 years, 4 months ago (2014-08-14 17:50:46 UTC) #5
xiyuan
https://codereview.chromium.org/475483003/diff/1/chrome/browser/resources/options/easy_unlock_turn_off_overlay.js File chrome/browser/resources/options/easy_unlock_turn_off_overlay.js (right): https://codereview.chromium.org/475483003/diff/1/chrome/browser/resources/options/easy_unlock_turn_off_overlay.js#newcode42 chrome/browser/resources/options/easy_unlock_turn_off_overlay.js:42: var oldState = this.uiState_; On 2014/08/14 17:43:23, tbarzic wrote: ...
6 years, 4 months ago (2014-08-14 22:09:20 UTC) #6
Tim Song
lgtm
6 years, 4 months ago (2014-08-14 23:14:56 UTC) #7
xiyuan
yoz@, are you okay with stamping on extensions/ code since Antony seems to be OOO? ...
6 years, 4 months ago (2014-08-15 00:17:57 UTC) #8
Yoyo Zhou
You can get an owners LGTM from me, but I don't know anything about this ...
6 years, 4 months ago (2014-08-15 01:38:59 UTC) #9
xiyuan
On 2014/08/15 01:38:59, Yoyo Zhou wrote: > You can get an owners LGTM from me, ...
6 years, 4 months ago (2014-08-15 03:29:26 UTC) #10
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 4 months ago (2014-08-15 05:29:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/475483003/120001
6 years, 4 months ago (2014-08-15 05:31:40 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 07:30:09 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 15:56:24 UTC) #14
commit-bot: I haz the power
Failed to apply patch for extensions/browser/extension_function_histogram_value.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 4 months ago (2014-08-15 15:56:26 UTC) #15
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 4 months ago (2014-08-15 16:16:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/475483003/140001
6 years, 4 months ago (2014-08-15 16:17:28 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 20:02:44 UTC) #18
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 21:42:42 UTC) #19
Message was sent while issue was closed.
Committed patchset #6 (140001) as 290019

Powered by Google App Engine
This is Rietveld 408576698