| Index: extensions/browser/api/runtime/runtime_api_delegate.h
|
| diff --git a/extensions/browser/api/runtime/runtime_api_delegate.h b/extensions/browser/api/runtime/runtime_api_delegate.h
|
| index 21e9a6e271c92ac7ff601d66be9af8fef3bee8bc..926d635ce0713c5f86f46274a595d4a2564e57d5 100644
|
| --- a/extensions/browser/api/runtime/runtime_api_delegate.h
|
| +++ b/extensions/browser/api/runtime/runtime_api_delegate.h
|
| @@ -75,6 +75,10 @@ class RuntimeAPIDelegate {
|
| // options page was opened, false otherwise. See the docs of the
|
| // chrome.runtime.openOptionsPage function for the gritty details.
|
| virtual bool OpenOptionsPage(const Extension* extension);
|
| +
|
| + // Sets the callback that will be invoked when the host device is being
|
| + // shutdown or restarted.
|
| + virtual void SetOnDeviceShutdownCallback(const base::Closure& callback) = 0;
|
| };
|
|
|
| } // namespace extensions
|
|
|