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

Unified Diff: extensions/shell/browser/api/shell_gcd/shell_gcd_api.cc

Issue 690093002: app_shell: Initial skeleton of a GCD target device setup API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (gcd) fix gn Created 6 years, 1 month 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/shell/browser/api/shell_gcd/shell_gcd_api.cc
diff --git a/extensions/shell/browser/api/shell_gcd/shell_gcd_api.cc b/extensions/shell/browser/api/shell_gcd/shell_gcd_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ae1dd4b2a128b0affab67cdcbd7ca0f9098eb244
--- /dev/null
+++ b/extensions/shell/browser/api/shell_gcd/shell_gcd_api.cc
@@ -0,0 +1,27 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "extensions/shell/browser/api/shell_gcd/shell_gcd_api.h"
+
+#include "base/values.h"
+#include "extensions/shell/common/api/shell_gcd.h"
+
+namespace shell_gcd = extensions::shell::api::shell_gcd;
+
+namespace extensions {
+
+ShellGcdGetSetupStatusFunction::ShellGcdGetSetupStatusFunction() {
+}
+
+ShellGcdGetSetupStatusFunction::~ShellGcdGetSetupStatusFunction() {
+}
+
+ExtensionFunction::ResponseAction ShellGcdGetSetupStatusFunction::Run() {
+ // TODO(jamescook): Implement this.
+ shell_gcd::SetupStatus status = shell_gcd::SETUP_STATUS_COMPLETED;
+ return RespondNow(
+ ArgumentList(shell_gcd::GetSetupStatus::Results::Create(status)));
+}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698