OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_ |
7 | 7 |
8 #include "content/browser/devtools/devtools_protocol.h" | 8 #include "content/browser/devtools/devtools_protocol.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
11 | 11 |
12 // This class provides information to DevTools about the system it's running on. | 12 // This class provides information to DevTools about the system it's running on. |
13 class DevToolsSystemInfoHandler | 13 class DevToolsSystemInfoHandler |
14 : public DevToolsProtocol::Handler { | 14 : public DevToolsProtocol::Handler { |
15 public: | 15 public: |
16 DevToolsSystemInfoHandler(); | 16 DevToolsSystemInfoHandler(); |
17 virtual ~DevToolsSystemInfoHandler(); | 17 ~DevToolsSystemInfoHandler() override; |
18 | 18 |
19 private: | 19 private: |
20 scoped_refptr<DevToolsProtocol::Response> OnGetInfo( | 20 scoped_refptr<DevToolsProtocol::Response> OnGetInfo( |
21 scoped_refptr<DevToolsProtocol::Command> command); | 21 scoped_refptr<DevToolsProtocol::Command> command); |
22 | 22 |
23 DISALLOW_COPY_AND_ASSIGN(DevToolsSystemInfoHandler); | 23 DISALLOW_COPY_AND_ASSIGN(DevToolsSystemInfoHandler); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace content | 26 } // namespace content |
27 | 27 |
28 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_ | 28 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_ |
OLD | NEW |