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

Issue 673813003: SetHostConfiguration() and ConfigureHost() are moved from ScreenObserver. (Closed)

Created:
6 years, 1 month ago by ygorshenin1
Modified:
6 years, 1 month ago
Reviewers:
achuithb, Nikita (slow)
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, achuithb
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

SetHostConfiguration() and ConfigureHost() are moved from ScreenObserver. BUG=405876, 426651 TEST=none Committed: https://crrev.com/bb51338bba890986ec9e4084e7c85a713c7203e8 Cr-Commit-Position: refs/heads/master@{#301363}

Patch Set 1 #

Patch Set 2 : git cl format #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -72 lines) Patch
M chrome/browser/chromeos/login/screens/controller_pairing_screen.h View 2 chunks +12 lines, -0 lines 2 comments Download
M chrome/browser/chromeos/login/screens/controller_pairing_screen.cc View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/screens/device_disabled_screen_unittest.cc View 2 chunks +0 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/login/screens/host_pairing_screen.h View 2 chunks +14 lines, -0 lines 1 comment Download
M chrome/browser/chromeos/login/screens/host_pairing_screen.cc View 1 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screens/screen_observer.h View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.h View 1 4 chunks +15 lines, -7 lines 2 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 4 chunks +41 lines, -37 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
ygorshenin1
6 years, 1 month ago (2014-10-27 13:43:43 UTC) #2
Nikita (slow)
cc:achuith lgtm you can use https://code.google.com/p/chromium/issues/detail?id=426651 for this CL.
6 years, 1 month ago (2014-10-27 13:51:18 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/673813003/20001
6 years, 1 month ago (2014-10-27 13:54:46 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-10-27 14:39:09 UTC) #6
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/bb51338bba890986ec9e4084e7c85a713c7203e8 Cr-Commit-Position: refs/heads/master@{#301363}
6 years, 1 month ago (2014-10-27 14:39:48 UTC) #7
achuithb
6 years, 1 month ago (2014-10-27 18:50:57 UTC) #9
Message was sent while issue was closed.
lgtm

Thanks for cleaning this up!

A few nits that you may want to consider for the next pass through this code.

https://codereview.chromium.org/673813003/diff/20001/chrome/browser/chromeos/...
File chrome/browser/chromeos/login/screens/controller_pairing_screen.h (right):

https://codereview.chromium.org/673813003/diff/20001/chrome/browser/chromeos/...
chrome/browser/chromeos/login/screens/controller_pairing_screen.h:24: virtual
~Delegate() {}
nit: I believe this could be made protected

https://codereview.chromium.org/673813003/diff/20001/chrome/browser/chromeos/...
chrome/browser/chromeos/login/screens/controller_pairing_screen.h:36: void
SetDelegate(Delegate* delegate);
I would just pass in the delegate in the ctor instead.

https://codereview.chromium.org/673813003/diff/20001/chrome/browser/chromeos/...
File chrome/browser/chromeos/login/screens/host_pairing_screen.h (right):

https://codereview.chromium.org/673813003/diff/20001/chrome/browser/chromeos/...
chrome/browser/chromeos/login/screens/host_pairing_screen.h:35: void
SetDelegate(Delegate* delegate);
I think passing this into the ctor cuts a few unnecessary lines of code.

https://codereview.chromium.org/673813003/diff/20001/chrome/browser/chromeos/...
File chrome/browser/chromeos/login/wizard_controller.h (right):

https://codereview.chromium.org/673813003/diff/20001/chrome/browser/chromeos/...
chrome/browser/chromeos/login/wizard_controller.h:255: // Override from
ControllerPairingScreen::Delegate:
I'd say Overridden just to be consistent with surrounding code.

https://codereview.chromium.org/673813003/diff/20001/chrome/browser/chromeos/...
chrome/browser/chromeos/login/wizard_controller.h:258: // Override from
HostPairingScreen::Delegate:
same

Powered by Google App Engine
This is Rietveld 408576698