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 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_ 7 8 #include "content/browser/devtools/devtools_protocol.h" 9 10 namespace content { 11 12 // This class provides information to DevTools about the system it's running on. 13 class DevToolsSystemInfoHandler 14 : public DevToolsProtocol::Handler { 15 public: 16 DevToolsSystemInfoHandler(); 17 virtual ~DevToolsSystemInfoHandler(); 18 19 private: 20 scoped_refptr<DevToolsProtocol::Response> OnGetInfo( 21 scoped_refptr<DevToolsProtocol::Command> command); 22 23 DISALLOW_COPY_AND_ASSIGN(DevToolsSystemInfoHandler); 24 }; 25 26 } // namespace content 27 28 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_ 29