Revert 268405 "Make sure that ScratchBuffer::Allocate() always r..."
[chromium-blink-merge.git] / content / browser / devtools / devtools_system_info_handler.h
blobafaf042b5b621b896ada26fa0d3ea9b5dfd524e8
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.
5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_
8 #include "content/browser/devtools/devtools_protocol.h"
10 namespace content {
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();
19 private:
20 scoped_refptr<DevToolsProtocol::Response> OnGetInfo(
21 scoped_refptr<DevToolsProtocol::Command> command);
23 DISALLOW_COPY_AND_ASSIGN(DevToolsSystemInfoHandler);
26 } // namespace content
28 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_SYSTEM_INFO_HANDLER_H_