Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / extensions / shell / browser / api / shell_gcd / shell_gcd_api.cc
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/shell/browser/api/shell_gcd/shell_gcd_api.h"
6
7 #include "base/values.h"
8 #include "extensions/shell/common/api/shell_gcd.h"
9
10 namespace shell_gcd = extensions::shell::api::shell_gcd;
11
12 namespace extensions {
13
14 ShellGcdGetSetupStatusFunction::ShellGcdGetSetupStatusFunction() {
15 }
16
17 ShellGcdGetSetupStatusFunction::~ShellGcdGetSetupStatusFunction() {
18 }
19
20 ExtensionFunction::ResponseAction ShellGcdGetSetupStatusFunction::Run() {
21   // TODO(jamescook): Implement this.
22   shell_gcd::SetupStatus status = shell_gcd::SETUP_STATUS_COMPLETED;
23   return RespondNow(
24       ArgumentList(shell_gcd::GetSetupStatus::Results::Create(status)));
25 }
26
27 }  // namespace extensions