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

Issue 8664014: chromeos: move screen lock handling to power manager client (Closed)

Created:
9 years ago by Simon Que
Modified:
9 years ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, kkania, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, robertshield, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, Paweł Hajdan Jr., ctguil+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, zork+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

chromeos: move screen lock handling to power manager client Part of libcros removal -- removing chromeos_screen_lock BUG=chromium-os:16559 TEST=Make sure screen lock/unlock works Signed-off-by: Simon Que <sque@chromium.org>; R=satorux@chromium.org,stevenjb@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112369

Patch Set 1 #

Total comments: 8

Patch Set 2 : changed based on comments #

Total comments: 4

Patch Set 3 : browser test fix, event observer duplicate remval #

Patch Set 4 : Rebased #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -61 lines) Patch
M chrome/browser/automation/testing_automation_provider_chromeos.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/accessibility/system_event_observer.h View 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/accessibility/system_event_observer.cc View 1 2 3 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/dbus/mock_power_manager_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/dbus/power_manager_client.h View 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/dbus/power_manager_client.cc View 1 5 chunks +69 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_browsertest.cc View 1 2 4 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/login_performer.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 2 7 chunks +15 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker_browsertest.cc View 1 2 7 chunks +13 lines, -15 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Simon Que
9 years ago (2011-11-29 00:27:34 UTC) #1
satorux1
Looks good overall. Please be sure to test that screen locks work as before. http://codereview.chromium.org/8664014/diff/1/chrome/browser/automation/testing_automation_provider_chromeos.cc ...
9 years ago (2011-11-29 01:29:12 UTC) #2
Simon Que
PTAL http://codereview.chromium.org/8664014/diff/1/chrome/browser/automation/testing_automation_provider_chromeos.cc File chrome/browser/automation/testing_automation_provider_chromeos.cc (right): http://codereview.chromium.org/8664014/diff/1/chrome/browser/automation/testing_automation_provider_chromeos.cc#newcode19 chrome/browser/automation/testing_automation_provider_chromeos.cc:19: #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" On 2011/11/29 01:29:12, satorux1 wrote: > ...
9 years ago (2011-11-29 01:47:31 UTC) #3
hashimoto
http://codereview.chromium.org/8664014/diff/3001/chrome/browser/chromeos/accessibility/system_event_observer.cc File chrome/browser/chromeos/accessibility/system_event_observer.cc (right): http://codereview.chromium.org/8664014/diff/3001/chrome/browser/chromeos/accessibility/system_event_observer.cc#newcode23 chrome/browser/chromeos/accessibility/system_event_observer.cc:23: DBusThreadManager::Get()->GetPowerManagerClient()->AddObserver(this); AddObserver is also called in Initialize. Please remove ...
9 years ago (2011-11-29 02:58:28 UTC) #4
Simon Que
PTAL http://codereview.chromium.org/8664014/diff/3001/chrome/browser/chromeos/accessibility/system_event_observer.cc File chrome/browser/chromeos/accessibility/system_event_observer.cc (right): http://codereview.chromium.org/8664014/diff/3001/chrome/browser/chromeos/accessibility/system_event_observer.cc#newcode23 chrome/browser/chromeos/accessibility/system_event_observer.cc:23: DBusThreadManager::Get()->GetPowerManagerClient()->AddObserver(this); On 2011/11/29 02:58:31, hashimoto wrote: > AddObserver ...
9 years ago (2011-11-29 23:31:24 UTC) #5
stevenjb
lgtm
9 years ago (2011-11-29 23:44:09 UTC) #6
hashimoto
LGTM about system_event_observer.cc, thanks!
9 years ago (2011-11-30 00:54:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sque@chromium.org/8664014/15001
9 years ago (2011-11-30 23:47:50 UTC) #8
commit-bot: I haz the power
Change committed as 112369
9 years ago (2011-12-01 01:33:17 UTC) #9
oshima
9 years ago (2011-12-01 18:12:05 UTC) #10
On 2011/12/01 01:33:17, I haz the power (commit-bot) wrote:
> Change committed as 112369

Hi, this broke linux_chromeos bot. Could you please fix it ASAP?
I'll also look into it, but if i couldn't fix it soon, i'll revert this.

Powered by Google App Engine
This is Rietveld 408576698