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

Issue 2968323002: [EasyUnlock] Introduce EasyUnlockNotificationController (Closed)

Created:
3 years, 5 months ago by Tim Song
Modified:
3 years, 5 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[EasyUnlock] Introduce EasyUnlockNotificationController This class is responsible for displaying and handling all EasyUnlock notifications. Originally, EasyUnlock notifications were shown by a component app, but this app is now deprecated and we are migrating EasyUnlock natively for v2. BUG=726791 Review-Url: https://codereview.chromium.org/2968323002 Cr-Commit-Position: refs/heads/master@{#488522} Committed: https://chromium.googlesource.com/chromium/src/+/b8c14e087eb455c3e712753d44eb8a2c62cba9f8

Patch Set 1 #

Patch Set 2 : Notification test. #

Total comments: 6

Patch Set 3 : use delegate instead of mc observer #

Total comments: 2

Patch Set 4 : add promotion notification #

Patch Set 5 : fix unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+586 lines, -0 lines) Patch
A chrome/app/theme/default_100_percent/cros/notification_easyunlock_enabled.png View Binary file 0 comments Download
A chrome/app/theme/default_100_percent/cros/notification_easyunlock_promo.png View 1 2 3 Binary file 0 comments Download
A chrome/app/theme/default_200_percent/cros/notification_easyunlock_enabled.png View Binary file 0 comments Download
A chrome/app/theme/default_200_percent/cros/notification_easyunlock_promo.png View 1 2 3 Binary file 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/signin/easy_unlock_notification_controller.h View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/signin/easy_unlock_notification_controller.cc View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/signin/easy_unlock_notification_controller_chromeos.h View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A chrome/browser/signin/easy_unlock_notification_controller_chromeos.cc View 1 2 3 1 chunk +210 lines, -0 lines 0 comments Download
A chrome/browser/signin/easy_unlock_notification_controller_chromeos_unittest.cc View 1 2 3 4 1 chunk +200 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
Tim Song
+sacomoto@ for general review +oshima@ for assets
3 years, 5 months ago (2017-07-07 00:13:20 UTC) #3
oshima
can you use vector icon instead? https://www.chromium.org/developers/how-tos/vectorized-icons-in-native-chrome-ui
3 years, 5 months ago (2017-07-07 00:45:00 UTC) #4
Tim Song
These assets are pretty old, but I'll sync up with UX to see if it's ...
3 years, 5 months ago (2017-07-07 18:31:57 UTC) #5
Peter Beverloo
https://codereview.chromium.org/2968323002/diff/20001/chrome/browser/signin/easy_unlock_notification_controller.cc File chrome/browser/signin/easy_unlock_notification_controller.cc (right): https://codereview.chromium.org/2968323002/diff/20001/chrome/browser/signin/easy_unlock_notification_controller.cc#newcode40 chrome/browser/signin/easy_unlock_notification_controller.cc:40: profile, message_center::MessageCenter::Get()); Will this functionality stay restricted to Chrome ...
3 years, 5 months ago (2017-07-07 18:36:58 UTC) #7
oshima
On 2017/07/07 18:31:57, Tim Song wrote: > These assets are pretty old, but I'll sync ...
3 years, 5 months ago (2017-07-07 19:20:36 UTC) #8
Tim Song
https://codereview.chromium.org/2968323002/diff/20001/chrome/browser/signin/easy_unlock_notification_controller.cc File chrome/browser/signin/easy_unlock_notification_controller.cc (right): https://codereview.chromium.org/2968323002/diff/20001/chrome/browser/signin/easy_unlock_notification_controller.cc#newcode40 chrome/browser/signin/easy_unlock_notification_controller.cc:40: profile, message_center::MessageCenter::Get()); On 2017/07/07 18:36:58, Peter Beverloo wrote: > ...
3 years, 5 months ago (2017-07-07 19:54:04 UTC) #9
sacomoto
lgtm
3 years, 5 months ago (2017-07-11 18:01:53 UTC) #10
sacomoto
https://codereview.chromium.org/2968323002/diff/40001/chrome/browser/signin/easy_unlock_notification_controller.h File chrome/browser/signin/easy_unlock_notification_controller.h (right): https://codereview.chromium.org/2968323002/diff/40001/chrome/browser/signin/easy_unlock_notification_controller.h#newcode34 chrome/browser/signin/easy_unlock_notification_controller.h:34: const std::string& phone_name) = 0; I'm working on the ...
3 years, 5 months ago (2017-07-12 15:59:04 UTC) #11
Tim Song
I added another notification for promoting EasyUnlock. Please take another look. https://codereview.chromium.org/2968323002/diff/40001/chrome/browser/signin/easy_unlock_notification_controller.h File chrome/browser/signin/easy_unlock_notification_controller.h (right): ...
3 years, 5 months ago (2017-07-13 20:46:33 UTC) #12
sacomoto
lgtm++
3 years, 5 months ago (2017-07-17 19:53:44 UTC) #13
Tim Song
Ping on this code review. We would like to get it in by branch point ...
3 years, 5 months ago (2017-07-18 00:43:05 UTC) #14
sacomoto
On 2017/07/18 00:43:05, Tim Song wrote: > Ping on this code review. We would like ...
3 years, 5 months ago (2017-07-19 10:01:06 UTC) #15
oshima
On 2017/07/19 10:01:06, sacomoto wrote: > On 2017/07/18 00:43:05, Tim Song wrote: > > Ping ...
3 years, 5 months ago (2017-07-20 18:21:56 UTC) #16
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/2968323002/60001
3 years, 5 months ago (2017-07-20 18:35:53 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/475250)
3 years, 5 months ago (2017-07-20 19:24:48 UTC) #20
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/2968323002/80001
3 years, 5 months ago (2017-07-20 23:43:35 UTC) #23
commit-bot: I haz the power
3 years, 5 months ago (2017-07-21 00:56:39 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/b8c14e087eb455c3e712753d44eb...

Powered by Google App Engine
This is Rietveld 408576698