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

Side by Side Diff: trunk/src/chrome/browser/ui/ash/session_state_delegate_chromeos.cc

Issue 14200038: Revert 194589 "Revert 194578 "Add ash SessionStateDelegate"" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/ash/session_state_delegate.h" 5 #include "chrome/browser/ui/ash/session_state_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/login/screen_locker.h" 8 #include "chrome/browser/chromeos/login/screen_locker.h"
9 #include "chrome/browser/chromeos/login/user_manager.h" 9 #include "chrome/browser/chromeos/login/user_manager.h"
10 #include "chromeos/dbus/dbus_thread_manager.h" 10 #include "chromeos/dbus/dbus_thread_manager.h"
(...skipping 29 matching lines...) Expand all
40 // TODO(antrim): Additional logging for http://crbug.com/173178. 40 // TODO(antrim): Additional logging for http://crbug.com/173178.
41 LOG(WARNING) << "Requesting screen lock from SessionStateDelegate"; 41 LOG(WARNING) << "Requesting screen lock from SessionStateDelegate";
42 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()-> 42 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()->
43 RequestLockScreen(); 43 RequestLockScreen();
44 } 44 }
45 45
46 void SessionStateDelegate::UnlockScreen() { 46 void SessionStateDelegate::UnlockScreen() {
47 // This is used only for testing thus far. 47 // This is used only for testing thus far.
48 NOTIMPLEMENTED(); 48 NOTIMPLEMENTED();
49 } 49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698