class ShellRuntimeAPIDelegate : public RuntimeAPIDelegate {
public:
ShellRuntimeAPIDelegate();
- virtual ~ShellRuntimeAPIDelegate();
+ ~ShellRuntimeAPIDelegate() override;
// RuntimeAPIDelegate implementation.
- virtual void AddUpdateObserver(UpdateObserver* observer) OVERRIDE;
- virtual void RemoveUpdateObserver(UpdateObserver* observer) OVERRIDE;
- virtual base::Version GetPreviousExtensionVersion(
- const Extension* extension) OVERRIDE;
- virtual void ReloadExtension(const std::string& extension_id) OVERRIDE;
- virtual bool CheckForUpdates(const std::string& extension_id,
- const UpdateCheckCallback& callback) OVERRIDE;
- virtual void OpenURL(const GURL& uninstall_url) OVERRIDE;
- virtual bool GetPlatformInfo(core_api::runtime::PlatformInfo* info) OVERRIDE;
- virtual bool RestartDevice(std::string* error_message) OVERRIDE;
+ void AddUpdateObserver(UpdateObserver* observer) override;
+ void RemoveUpdateObserver(UpdateObserver* observer) override;
+ base::Version GetPreviousExtensionVersion(
+ const Extension* extension) override;
+ void ReloadExtension(const std::string& extension_id) override;
+ bool CheckForUpdates(const std::string& extension_id,
+ const UpdateCheckCallback& callback) override;
+ void OpenURL(const GURL& uninstall_url) override;
+ bool GetPlatformInfo(core_api::runtime::PlatformInfo* info) override;
+ bool RestartDevice(std::string* error_message) override;
private:
DISALLOW_COPY_AND_ASSIGN(ShellRuntimeAPIDelegate);