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

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

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
« no previous file with comments | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/api/shell_gcd/shell_gcd_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b93392845f10a5b58a313ffab005592a15a3d51a
--- /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 ShellGcdGetSetupStatusFunction : public UIThreadExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("shell.gcd.getSetupStatus", UNKNOWN);
+
+ ShellGcdGetSetupStatusFunction();
+
+ protected:
+ ~ShellGcdGetSetupStatusFunction() override;
+
+ // ExtensionFunction:
+ ResponseAction Run() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ShellGcdGetSetupStatusFunction);
+};
+
+} // namespace extensions
+
+#endif // EXTENSIONS_SHELL_BROWSER_API_SHELL_GCD_SHELL_GCD_API_H_
« no previous file with comments | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/api/shell_gcd/shell_gcd_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698