| Index: extensions/shell/browser/api/shell_gcd/shell_gcd_api.h
|
| diff --git a/extensions/shell/browser/api/shell_gcd/shell_gcd_api.h b/extensions/shell/browser/api/shell_gcd/shell_gcd_api.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c3a1dc79253a4b07d1d486b2f1e9282526416ef2
|
| --- /dev/null
|
| +++ b/extensions/shell/browser/api/shell_gcd/shell_gcd_api.h
|
| @@ -0,0 +1,32 @@
|
| +// 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.
|
| +
|
| +#ifndef EXTENSIONS_SHELL_BROWSER_API_SHELL_GCD_SHELL_GCD_API_H_
|
| +#define EXTENSIONS_SHELL_BROWSER_API_SHELL_GCD_SHELL_GCD_API_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "extensions/browser/extension_function.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +// TODO(jamescook): Write this function. It needs to talk to privet via DBus.
|
| +class ShellGcdGetBootstrapStatusFunction : public UIThreadExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION("shell.gcd.getBootstrapStatus", UNKNOWN);
|
| +
|
| + ShellGcdGetBootstrapStatusFunction();
|
| +
|
| + protected:
|
| + ~ShellGcdGetBootstrapStatusFunction() override;
|
| +
|
| + // ExtensionFunction:
|
| + ResponseAction Run() override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ShellGcdGetBootstrapStatusFunction);
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // EXTENSIONS_SHELL_BROWSER_API_SHELL_GCD_SHELL_GCD_API_H_
|
|
|