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

Unified Diff: chrome/browser/chromeos/system/device_disabling_manager_default_delegate.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/system/device_disabling_manager_default_delegate.h
diff --git a/chrome/browser/chromeos/system/device_disabling_manager_default_delegate.h b/chrome/browser/chromeos/system/device_disabling_manager_default_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..2316e70cbda5ad0019476bb0a62056544ac3f628
--- /dev/null
+++ b/chrome/browser/chromeos/system/device_disabling_manager_default_delegate.h
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_DISABLING_MANAGER_DEFAULT_DELEGATE_H_
+#define CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_DISABLING_MANAGER_DEFAULT_DELEGATE_H_
+
+#include "base/macros.h"
+#include "chrome/browser/chromeos/system/device_disabling_manager.h"
+
+namespace chromeos {
+namespace system {
+
+class DeviceDisablingManagerDefaultDelegate
+ : public DeviceDisablingManager::Delegate {
+ public:
+ DeviceDisablingManagerDefaultDelegate();
+
+ private:
+ // DeviceDisablingManager::Delegate:
+ void RestartToLoginScreen() override;
+ void ShowDeviceDisabledScreen() override;
+
+ DISALLOW_COPY_AND_ASSIGN(DeviceDisablingManagerDefaultDelegate);
+};
+
+} // namespace system
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_DISABLING_MANAGER_DEFAULT_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698