Revert 168224 - Update V8 to version 3.15.4.
[chromium-blink-merge.git] / chrome / browser / chromeos / power / screen_lock_observer.cc
blob419a4891529f42965aad58270ec3bce6d55a0e73
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/power/screen_lock_observer.h"
7 #include "chrome/browser/extensions/system/system_api.h"
8 #include "chromeos/dbus/dbus_thread_manager.h"
10 namespace chromeos {
12 ScreenLockObserver::ScreenLockObserver() {
13 DBusThreadManager::Get()->GetSessionManagerClient()->AddObserver(this);
16 ScreenLockObserver::~ScreenLockObserver() {
17 DBusThreadManager::Get()->GetSessionManagerClient()->RemoveObserver(this);
20 void ScreenLockObserver::UnlockScreen() {
21 extensions::DispatchScreenUnlockedEvent();
24 } // namespace chromeos