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

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

Issue 2471643002: mash: remove the LockStateControllerDelegate. (Closed)
Patch Set: Add bug links + modify other overlay.json file. 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_SHUTDOWN_CLIENT_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_POWER_SHUTDOWN_CLIENT_IMPL_H_
7
8 #include "ash/public/interfaces/shutdown.mojom.h"
9 #include "base/compiler_specific.h"
James Cook 2016/11/02 20:20:04 Not needed?
Elliot Glaysher 2016/11/02 21:45:16 You're right. Removed.
10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h"
12
13 namespace chromeos {
14
15 class ShutdownClientImpl : public ash::mojom::ShutdownClient {
16 public:
17 ShutdownClientImpl();
18 ~ShutdownClientImpl() override;
19
20 private:
21 // ash::mojom::ShutdownClient implementation.
22 void RequestShutdown() override;
23
24 base::WeakPtrFactory<ShutdownClientImpl> weak_factory_;
25
26 DISALLOW_COPY_AND_ASSIGN(ShutdownClientImpl);
27 };
28
29 } // namespace chromeos
30
31 #endif // CHROME_BROWSER_CHROMEOS_POWER_SHUTDOWN_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698