OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 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_PROTOCOL_SECURITY_HANDLER_H_ | |
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_ | |
7 | |
8 #include "content/browser/devtools/devtools_protocol_handler.h" | |
9 #include "content/browser/devtools/protocol/devtools_protocol_client.h" | |
estark
2015/06/09 20:39:20
nit: you can forward-declare this and do the #incl
lgarron
2015/06/09 20:48:27
Will keep in mind for the future. Since it'll be r
| |
10 | |
11 namespace content { | |
12 namespace devtools { | |
13 namespace security { | |
14 | |
15 class SecurityHandler { | |
16 public: | |
17 typedef DevToolsProtocolClient::Response Response; | |
18 | |
19 SecurityHandler(); | |
20 virtual ~SecurityHandler(); | |
21 | |
22 void SetClient(scoped_ptr<DevToolsProtocolClient> client); | |
23 | |
24 Response Enable(); | |
25 Response Disable(); | |
26 | |
27 private: | |
28 | |
29 DISALLOW_COPY_AND_ASSIGN(SecurityHandler); | |
30 }; | |
31 | |
32 } // namespace security | |
33 } // namespace devtools | |
34 } // namespace content | |
35 | |
36 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_ | |
OLD | NEW |