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

Side by Side Diff: chrome/browser/chromeos/power/session_state_controller_delegate_chromeos.h

Issue 2471643002: mash: remove the LockStateControllerDelegate. (Closed)
Patch Set: sky comments Created 4 years, 1 month 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
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROMEOS _H_
6 #define CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROMEOS _H_
7
8 #include "ash/wm/lock_state_controller.h"
9 #include "base/compiler_specific.h"
10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h"
12
13 namespace chromeos {
14
15 class SessionStateControllerDelegateChromeos
16 : public ash::LockStateControllerDelegate {
17 public:
18 SessionStateControllerDelegateChromeos();
19 ~SessionStateControllerDelegateChromeos() override;
20
21 private:
22 // ash::LockStateControllerDelegate implementation.
23 void RequestShutdown() override;
24
25 base::WeakPtrFactory<SessionStateControllerDelegateChromeos> weak_factory_;
26
27 DISALLOW_COPY_AND_ASSIGN(SessionStateControllerDelegateChromeos);
28 };
29
30 } // namespace chromeos
31
32 #endif // CHROME_BROWSER_CHROMEOS_POWER_SESSION_STATE_CONTROLLER_DELEGATE_CHROM EOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698