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 #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 |
OLD | NEW |