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

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

Issue 264743014: Move chrome.runtime to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, renames 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 #include "extensions/browser/test_runtime_api_delegate.h"
6
7 namespace extensions {
8
9 using core_api::runtime::GetPlatformInfo::Results::PlatformInfo;
10
11 void TestRuntimeAPIDelegate::AddUpdateObserver(UpdateObserver* observer) {
12 }
13
14 void TestRuntimeAPIDelegate::RemoveUpdateObserver(UpdateObserver* observer) {
15 }
16
17 base::Version TestRuntimeAPIDelegate::GetPreviousExtensionVersion(
18 const Extension* extension) {
19 return base::Version();
20 }
21
22 void TestRuntimeAPIDelegate::ReloadExtension(const std::string& extension_id) {
23 }
24
25 bool TestRuntimeAPIDelegate::CheckForUpdates(
26 const std::string& extension_id,
27 const UpdateCheckCallback& callback) {
28 return false;
29 }
30
31 void TestRuntimeAPIDelegate::OpenURL(const GURL& uninstall_url) {
32 }
33
34 bool TestRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
35 info->os = PlatformInfo::OS_CROS_;
36 return true;
37 }
38
39 bool TestRuntimeAPIDelegate::RestartDevice(std::string* error_message) {
40 return false;
41 }
42
43 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698