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

Issue 816903002: It2Me Confirmation Dialog (Closed)

Created:
6 years ago by dcaiafa
Modified:
5 years, 11 months ago
Reviewers:
Sergey Ulanov, kelvinp
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

It2Me Confirmation Dialog (ChromeOS) This CL adds support for a native confirmation dialog shown after the user presses "Share" on the webapp but before an access code is generated. It also includes a ChromeOS (Aura) implementation. Implementation for other platforms will soon follow. More details ============ It2MeConfirmationDialog is an interface for the confirmation dialog. Implementations can assume they will be called only on the UI thread. It2MeConfirmationDialogFactory is used to create platform specific implementations of the dialog. It2MeConfirmationDialogChromeOS is the dialog's ChromeOS implementation. It2MeConfirmationDialogProxy is a helper class that allows the caller (in this case, It2MeHost) to use the dialog outside of the UI thread. BUG=444216 Committed: https://crrev.com/3a5e72899629e0c8d254109707e747742686fbca Cr-Commit-Position: refs/heads/master@{#310149}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address feedback, clean up implementation, add tests. #

Total comments: 21

Patch Set 3 : More feedback-addressing changes. #

Patch Set 4 : Fix windows bot failure. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+512 lines, -4 lines) Patch
A remoting/host/it2me/it2me_confirmation_dialog.h View 1 1 chunk +48 lines, -0 lines 0 comments Download
A remoting/host/it2me/it2me_confirmation_dialog.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download
A remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
A remoting/host/it2me/it2me_confirmation_dialog_proxy.h View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A remoting/host/it2me/it2me_confirmation_dialog_proxy.cc View 1 2 3 1 chunk +106 lines, -0 lines 0 comments Download
A remoting/host/it2me/it2me_confirmation_dialog_proxy_unittest.cc View 1 2 1 chunk +148 lines, -0 lines 0 comments Download
M remoting/host/it2me/it2me_host.h View 1 2 4 chunks +12 lines, -0 lines 0 comments Download
M remoting/host/it2me/it2me_host.cc View 1 2 7 chunks +49 lines, -4 lines 0 comments Download
M remoting/host/it2me/it2me_native_messaging_host_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/remoting_host_srcs.gypi View 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/remoting_test.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/resources/remoting_strings.grd View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
dcaiafa
Please take a look at the general approach, but PLEASE ignore the details for now. ...
6 years ago (2014-12-19 01:51:42 UTC) #2
Sergey Ulanov
approach in general looks good. https://codereview.chromium.org/816903002/diff/1/remoting/host/it2me/it2me_confirmation_dialog.cc File remoting/host/it2me/it2me_confirmation_dialog.cc (right): https://codereview.chromium.org/816903002/diff/1/remoting/host/it2me/it2me_confirmation_dialog.cc#newcode17 remoting/host/it2me/it2me_confirmation_dialog.cc:17: return scoped_ptr<It2MeConfirmationDialog>(); return nullptr; ...
6 years ago (2014-12-19 03:16:19 UTC) #3
dcaiafa
PTAL https://codereview.chromium.org/816903002/diff/1/remoting/host/it2me/it2me_confirmation_dialog.cc File remoting/host/it2me/it2me_confirmation_dialog.cc (right): https://codereview.chromium.org/816903002/diff/1/remoting/host/it2me/it2me_confirmation_dialog.cc#newcode17 remoting/host/it2me/it2me_confirmation_dialog.cc:17: return scoped_ptr<It2MeConfirmationDialog>(); On 2014/12/19 03:16:19, Sergey Ulanov wrote: ...
6 years ago (2014-12-20 00:22:00 UTC) #8
Sergey Ulanov
https://codereview.chromium.org/816903002/diff/1/remoting/host/it2me/it2me_host.cc File remoting/host/it2me/it2me_host.cc (right): https://codereview.chromium.org/816903002/diff/1/remoting/host/it2me/it2me_host.cc#newcode159 remoting/host/it2me/it2me_host.cc:159: case It2MeConfirmationDialog::Result::OK: On 2014/12/20 00:22:00, dcaiafa wrote: > On ...
6 years ago (2014-12-22 19:29:09 UTC) #9
kelvinp
https://codereview.chromium.org/816903002/diff/100001/remoting/host/it2me/it2me_confirmation_dialog.h File remoting/host/it2me/it2me_confirmation_dialog.h (right): https://codereview.chromium.org/816903002/diff/100001/remoting/host/it2me/it2me_confirmation_dialog.h#newcode36 remoting/host/it2me/it2me_confirmation_dialog.h:36: class It2MeConfirmationDialogFactory { Do we need a factory class, ...
5 years, 11 months ago (2014-12-29 22:27:42 UTC) #11
dcaiafa
pTaL https://codereview.chromium.org/816903002/diff/100001/remoting/host/it2me/it2me_confirmation_dialog.h File remoting/host/it2me/it2me_confirmation_dialog.h (right): https://codereview.chromium.org/816903002/diff/100001/remoting/host/it2me/it2me_confirmation_dialog.h#newcode36 remoting/host/it2me/it2me_confirmation_dialog.h:36: class It2MeConfirmationDialogFactory { On 2014/12/29 22:27:42, kelvinp wrote: ...
5 years, 11 months ago (2015-01-05 19:39:27 UTC) #12
kelvinp
lgtm
5 years, 11 months ago (2015-01-05 21:02:03 UTC) #13
dcaiafa
sergey: ping :)
5 years, 11 months ago (2015-01-06 18:45:11 UTC) #14
Sergey Ulanov
lgtm
5 years, 11 months ago (2015-01-06 19:17:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/816903002/140001
5 years, 11 months ago (2015-01-06 19:20:57 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:140001)
5 years, 11 months ago (2015-01-06 21:21:53 UTC) #18
commit-bot: I haz the power
5 years, 11 months ago (2015-01-06 21:23:43 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3a5e72899629e0c8d254109707e747742686fbca
Cr-Commit-Position: refs/heads/master@{#310149}

Powered by Google App Engine
This is Rietveld 408576698