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

Issue 167663004: chromeos: Remove old LockScreen signal. (Closed)

Created:
6 years, 10 months ago by Daniel Erat
Modified:
6 years, 9 months ago
CC:
chromium-reviews, derat+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, Denis Kuznetsov (DE-MUC)
Visibility:
Public.

Description

chromeos: Remove old LockScreen signal. Remove code that listened for a LockScreen D-Bus signal, formerly emitted by the session manager to instruct Chrome to lock the screen. Chrome now exports a LockScreen method instead. BUG=341921 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256581

Patch Set 1 #

Patch Set 2 : surprise: old chunk mismatch #

Total comments: 4

Patch Set 3 : make the stub lock the screen, hopefully #

Patch Set 4 : fix ScreenLockObserver lifetime #

Total comments: 3

Patch Set 5 : fix compilation, hopefully #

Patch Set 6 : bleh #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -76 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/dbus/screen_lock_service_provider.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/screen_locker.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 2 3 4 4 chunks +36 lines, -36 lines 0 comments Download
M chrome/browser/chromeos/power/power_button_observer.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/power/power_button_observer.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_session_manager_client.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/session_manager_client.h View 1 2 2 chunks +18 lines, -8 lines 0 comments Download
M chromeos/dbus/session_manager_client.cc View 1 2 7 chunks +11 lines, -16 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Daniel Erat
https://codereview.chromium.org/167663004/diff/40001/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (left): https://codereview.chromium.org/167663004/diff/40001/chromeos/dbus/session_manager_client.cc#oldcode532 chromeos/dbus/session_manager_client.cc:532: FOR_EACH_OBSERVER(Observer, observers_, LockScreen()); Steven, curious about your thoughts about ...
6 years, 10 months ago (2014-02-14 23:36:56 UTC) #1
stevenjb
https://codereview.chromium.org/167663004/diff/40001/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (left): https://codereview.chromium.org/167663004/diff/40001/chromeos/dbus/session_manager_client.cc#oldcode532 chromeos/dbus/session_manager_client.cc:532: FOR_EACH_OBSERVER(Observer, observers_, LockScreen()); On 2014/02/14 23:36:56, Daniel Erat wrote: ...
6 years, 10 months ago (2014-02-18 17:32:14 UTC) #2
Daniel Erat
https://codereview.chromium.org/167663004/diff/40001/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (left): https://codereview.chromium.org/167663004/diff/40001/chromeos/dbus/session_manager_client.cc#oldcode532 chromeos/dbus/session_manager_client.cc:532: FOR_EACH_OBSERVER(Observer, observers_, LockScreen()); On 2014/02/18 17:32:14, stevenjb wrote: > ...
6 years, 10 months ago (2014-02-18 17:47:21 UTC) #3
stevenjb
lgtm https://codereview.chromium.org/167663004/diff/40001/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (left): https://codereview.chromium.org/167663004/diff/40001/chromeos/dbus/session_manager_client.cc#oldcode532 chromeos/dbus/session_manager_client.cc:532: FOR_EACH_OBSERVER(Observer, observers_, LockScreen()); On 2014/02/18 17:47:21, Daniel Erat ...
6 years, 10 months ago (2014-02-18 17:52:40 UTC) #4
Nikita (slow)
Got this on sign out on desktop. [29603:29603:0311/213933:FATAL:dbus_thread_manager.cc(513)] Check failed: g_dbus_thread_manager. DBusThreadManager::Get() called before Initialize() ...
6 years, 9 months ago (2014-03-11 17:40:52 UTC) #5
Daniel Erat
On 2014/03/11 17:40:52, Nikita Kostylev wrote: > Got this on sign out on desktop. > ...
6 years, 9 months ago (2014-03-12 00:15:29 UTC) #6
Daniel Erat
https://codereview.chromium.org/167663004/diff/120001/chrome/browser/chromeos/login/screen_locker.cc File chrome/browser/chromeos/login/screen_locker.cc (right): https://codereview.chromium.org/167663004/diff/120001/chrome/browser/chromeos/login/screen_locker.cc#newcode391 chrome/browser/chromeos/login/screen_locker.cc:391: ash::Shell::GetInstance()->lock_state_controller()->OnStartingLock(); note that this was previously getting called unconditionally ...
6 years, 9 months ago (2014-03-12 00:30:43 UTC) #7
stevenjb
So this lgtm, but +1 to your own reservation and a suggestion that is arguably ...
6 years, 9 months ago (2014-03-12 00:40:02 UTC) #8
Daniel Erat
thanks for the review. i think that something like TestInterface would make sense if there ...
6 years, 9 months ago (2014-03-12 01:21:12 UTC) #9
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 9 months ago (2014-03-12 05:37:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/167663004/120001
6 years, 9 months ago (2014-03-12 05:41:57 UTC) #11
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 9 months ago (2014-03-12 08:25:18 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg
6 years, 9 months ago (2014-03-12 08:27:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/167663004/160001
6 years, 9 months ago (2014-03-12 08:27:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/167663004/160001
6 years, 9 months ago (2014-03-12 16:51:45 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 18:02:37 UTC) #16
Message was sent while issue was closed.
Change committed as 256581

Powered by Google App Engine
This is Rietveld 408576698