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

Side by Side Diff: extensions/browser/test_runtime_api_delegate.h

Issue 264743014: Move chrome.runtime to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 EXENSIONS_BROWSER_TEST_RUNTIME_API_DELEGATE_H_
6 #define EXENSIONS_BROWSER_TEST_RUNTIME_API_DELEGATE_H_
7
8 #include "extensions/browser/runtime_api_delegate.h"
9
10 namespace extensions {
11
12 class TestRuntimeAPIDelegate : public RuntimeAPIDelegate {
13 public:
14 // RuntimeAPIDelegate implementation.
15 virtual void RegisterUpdateObserver(UpdateObserver* observer) OVERRIDE;
16 virtual void UnregisterUpdateObserver(UpdateObserver* observer) OVERRIDE;
17 virtual base::Version GetOldExtensionVersion(
18 const Extension* extension) OVERRIDE;
19 virtual void MaybeReloadExtension(const std::string& extension_id) OVERRIDE;
20 virtual bool RequestUpdateCheck(
21 const std::string& extension_id,
22 const RuntimeAPI::UpdateCheckCallback& callback) OVERRIDE;
23 virtual void HandleUninstall(const std::string& extension_id,
24 const GURL& uninstall_url) OVERRIDE;
25 virtual bool GetPlatformInfo(
26 core_api::runtime::GetPlatformInfo::Results::PlatformInfo* info) OVERRIDE;
27 virtual bool RequestRestart(std::string* error_message) OVERRIDE;
28 };
29
30 } // namespace extensions
31
32 #endif // EXENSIONS_BROWSER_TEST_RUNTIME_API_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698