Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef APPS_SHELL_BROWSER_SHELL_RUNTIME_API_DELEGATE_H_ | |
| 6 #define APPS_SHELL_BROWSER_SHELL_RUNTIME_API_DELEGATE_H_ | |
| 7 | |
| 8 #include "extensions/browser/api/runtime/runtime_api_delegate.h" | |
| 9 | |
| 10 namespace apps { | |
| 11 | |
| 12 class ShellRuntimeAPIDelegate : public extensions::RuntimeAPIDelegate { | |
| 13 public: | |
|
James Cook
2014/05/06 15:57:03
out-of-line constructor and virtual destructor ple
Ken Rockot(use gerrit already)
2014/05/06 17:22:23
Done.
| |
| 14 // extensions::RuntimeAPIDelegate implementation. | |
| 15 virtual void AddUpdateObserver(extensions::UpdateObserver* observer) OVERRIDE; | |
| 16 virtual void RemoveUpdateObserver( | |
| 17 extensions::UpdateObserver* observer) OVERRIDE; | |
| 18 virtual base::Version GetPreviousExtensionVersion( | |
| 19 const extensions::Extension* extension) OVERRIDE; | |
| 20 virtual void ReloadExtension(const std::string& extension_id) OVERRIDE; | |
| 21 virtual bool CheckForUpdates(const std::string& extension_id, | |
| 22 const UpdateCheckCallback& callback) OVERRIDE; | |
| 23 virtual void OpenURL(const GURL& uninstall_url) OVERRIDE; | |
| 24 virtual bool GetPlatformInfo( | |
| 25 extensions::core_api::runtime::GetPlatformInfo::Results::PlatformInfo* | |
| 26 info) OVERRIDE; | |
| 27 virtual bool RestartDevice(std::string* error_message) OVERRIDE; | |
| 28 }; | |
|
James Cook
2014/05/06 15:57:03
DISALLOW_COPY_AND_ASSIGN
Ken Rockot(use gerrit already)
2014/05/06 17:22:23
Done.
| |
| 29 | |
| 30 } // namespace apps | |
| 31 | |
| 32 #endif // APPS_SHELL_BROWSER_SHELL_RUNTIME_API_DELEGATE_H_ | |
| OLD | NEW |