Index: chrome/browser/lifetime/keep_alive_state_observer.h |
diff --git a/chrome/browser/lifetime/keep_alive_state_observer.h b/chrome/browser/lifetime/keep_alive_state_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9c5865227ea2ad6b26335f7cb94bf5076444aa5e |
--- /dev/null |
+++ b/chrome/browser/lifetime/keep_alive_state_observer.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2016 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_LIFETIME_KEEP_ALIVE_STATE_OBSERVER_H_ |
+#define CHROME_BROWSER_LIFETIME_KEEP_ALIVE_STATE_OBSERVER_H_ |
+ |
+#include "base/macros.h" |
+ |
+struct KeepAliveOptions; |
+ |
+class KeepAliveStateObserver { |
+ public: |
+ virtual void OnRestartAllowed() = 0; |
+ virtual void OnRestartForbidden() = 0; |
+ |
+ protected: |
+ virtual ~KeepAliveStateObserver() {} |
+ |
+ DISALLOW_COPY_AND_ASSIGN(KeepAliveStateObserver); |
+}; |
+ |
+#endif // CHROME_BROWSER_LIFETIME_KEEP_ALIVE_STATE_OBSERVER_H_ |