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

Side by Side Diff: chrome/browser/chromeos/login/screens/device_disabled_screen_actor.h

Issue 711433002: Enable device disabling during normal operation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@f_4_425574_add_device_disabling_manager
Patch Set: Address one more comment I had missed. Created 6 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 11 matching lines...) Expand all
22 // destroyed first, it must call SetDelegate(nullptr). 22 // destroyed first, it must call SetDelegate(nullptr).
23 virtual void OnActorDestroyed(DeviceDisabledScreenActor* actor) = 0; 23 virtual void OnActorDestroyed(DeviceDisabledScreenActor* actor) = 0;
24 }; 24 };
25 25
26 virtual ~DeviceDisabledScreenActor() { 26 virtual ~DeviceDisabledScreenActor() {
27 } 27 }
28 28
29 virtual void Show(const std::string& message) = 0; 29 virtual void Show(const std::string& message) = 0;
30 virtual void Hide() = 0; 30 virtual void Hide() = 0;
31 virtual void SetDelegate(Delegate* delegate) = 0; 31 virtual void SetDelegate(Delegate* delegate) = 0;
32 virtual void UpdateMessage(const std::string& message) = 0;
32 }; 33 };
33 34
34 } // namespace chromeos 35 } // namespace chromeos
35 36
36 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_ 37 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_DEVICE_DISABLED_SCREEN_ACTOR_H_
37 38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698