Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(947)

Side by Side Diff: apps/shell/browser/shell_runtime_api_delegate.h

Issue 264743014: Move chrome.runtime to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make clang, cros happy Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698