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

Unified Diff: extensions/shell/browser/shell_runtime_api_delegate.h

Issue 1970613003: Add a new app API to enable watchdog behavior restarts in kiosk apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing include Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: extensions/shell/browser/shell_runtime_api_delegate.h
diff --git a/extensions/shell/browser/shell_runtime_api_delegate.h b/extensions/shell/browser/shell_runtime_api_delegate.h
index f0a8d3860fcd68f120e31ed97c74e1d6871f2209..7d07b27c5f8b4526659ce4e9a2b070fa6bb030cf 100644
--- a/extensions/shell/browser/shell_runtime_api_delegate.h
+++ b/extensions/shell/browser/shell_runtime_api_delegate.h
@@ -26,6 +26,7 @@ class ShellRuntimeAPIDelegate : public RuntimeAPIDelegate {
void OpenURL(const GURL& uninstall_url) override;
bool GetPlatformInfo(api::runtime::PlatformInfo* info) override;
bool RestartDevice(std::string* error_message) override;
+ void SetOnDeviceShutdownCallback(const base::Closure& callback) override;
private:
DISALLOW_COPY_AND_ASSIGN(ShellRuntimeAPIDelegate);

Powered by Google App Engine
This is Rietveld 408576698