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

Unified Diff: extensions/browser/runtime_api_delegate.cc

Issue 264743014: Move chrome.runtime to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: extensions/browser/runtime_api_delegate.cc
diff --git a/extensions/browser/runtime_api_delegate.cc b/extensions/browser/runtime_api_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c4b13e193cc9dd71eb3c16839a16c760320d06a8
--- /dev/null
+++ b/extensions/browser/runtime_api_delegate.cc
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
Ken Rockot(use gerrit already) 2014/05/03 04:22:49 This file shouldn't exist. It will be deleted.
+// found in the LICENSE file.
+
+#include "extensions/browser/runtime_api_delegate.h"
+
+using extensions::core_api::runtime::GetPlatformInfo::Results::PlatformInfo;
+
+namespace extensions {
+
+base::Version RuntimeAPIDelegate::GetOldExtensionVersion(
+ const Extension* extension) {
+ return base::Version();
+}
+
+bool RuntimeAPIDelegate::RequestUpdateCheck(
+ const std::string& extension_id,
+ const RuntimeAPI::UpdateCheckCallback& callback) {
+ return false;
+}
+
+bool RuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
+ return false;
+}
+
+bool RuntimeAPIDelegate::RequestRestart(std::string* error_message) {
+ return false;
+}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698