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 98b49639bc80334cd2e5bc9d9f452bd6d96464d3..a704c2fae9a2c585e53012aa4589b85b29bf7b60 100644 |
--- a/extensions/browser/api/runtime/runtime_api_delegate.h |
+++ b/extensions/browser/api/runtime/runtime_api_delegate.h |
@@ -70,6 +70,11 @@ class RuntimeAPIDelegate { |
// Request a restart of the host device. Returns false iff the device |
// will not be restarted. |
virtual bool RestartDevice(std::string* error_message) = 0; |
+ |
+ // Open |extension|'s options page, if it has one. Returns true if an |
+ // 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); |
}; |
} // namespace extensions |