[refactor] More post-NSS WebCrypto cleanups (utility functions).
[chromium-blink-merge.git] / content / browser / devtools / protocol / dom_handler.h
blob375cf2ba2a99cedf4620b3068de814a2e8408bd6
1 // Copyright 2014 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_PROTOCOL_DOM_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DOM_HANDLER_H_
8 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h"
10 namespace content {
12 class RenderFrameHostImpl;
14 namespace devtools {
15 namespace dom {
17 class DOMHandler {
18 public:
19 typedef DevToolsProtocolClient::Response Response;
21 DOMHandler();
22 virtual ~DOMHandler();
24 void SetRenderFrameHost(RenderFrameHostImpl* host);
26 Response SetFileInputFiles(NodeId node_id,
27 const std::vector<std::string>& files);
29 private:
30 RenderFrameHostImpl* host_;
31 DISALLOW_COPY_AND_ASSIGN(DOMHandler);
34 } // namespace dom
35 } // namespace devtools
36 } // namespace content
38 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DOM_HANDLER_H_