summaryrefslogtreecommitdiffstats
path: root/content/browser/devtools/protocol/system_info_handler.h
diff options
context:
space:
mode:
authorvkuzkokov <vkuzkokov@chromium.org>2014-11-11 04:55:54 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-11 12:56:15 +0000
commit5323241303055424caca721c48306aae8d10df35 (patch)
tree1950d5735c6e50a9e647cd7d38020ad7fa64d23c /content/browser/devtools/protocol/system_info_handler.h
parentc48f7c3c2037f98037533971a459f56a16c40ceb (diff)
downloadchromium_src-5323241303055424caca721c48306aae8d10df35.zip
chromium_src-5323241303055424caca721c48306aae8d10df35.tar.gz
chromium_src-5323241303055424caca721c48306aae8d10df35.tar.bz2
[DevTools] Added browser protocol to handler generator
BUG=405566 Review URL: https://codereview.chromium.org/658163003 Cr-Commit-Position: refs/heads/master@{#303632}
Diffstat (limited to 'content/browser/devtools/protocol/system_info_handler.h')
-rw-r--r--content/browser/devtools/protocol/system_info_handler.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/content/browser/devtools/protocol/system_info_handler.h b/content/browser/devtools/protocol/system_info_handler.h
new file mode 100644
index 0000000..5781275
--- /dev/null
+++ b/content/browser/devtools/protocol/system_info_handler.h
@@ -0,0 +1,31 @@
+// 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 CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SYSTEM_INFO_HANDLER_H_
+#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SYSTEM_INFO_HANDLER_H_
+
+#include "content/browser/devtools/protocol/devtools_protocol_handler_impl.h"
+
+namespace content {
+namespace devtools {
+namespace system_info {
+
+class SystemInfoHandler {
+ public:
+ typedef DevToolsProtocolClient::Response Response;
+
+ SystemInfoHandler();
+ virtual ~SystemInfoHandler();
+
+ Response GetInfo(scoped_refptr<SystemInfo>* info);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SystemInfoHandler);
+};
+
+} // namespace system_info
+} // namespace devtools
+} // namespace content
+
+#endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SYSTEM_INFO_HANDLER_H_