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/public/common/security_style.h" | |
pfeldman
2015/06/09 18:35:53
Unused?
lgarron
2015/06/09 18:51:23
Indeed. It'll be needed later, but I've removed it
| |
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 ~SecurityHandler(); | |
pfeldman
2015/06/09 18:35:53
virtual
lgarron
2015/06/09 18:51:23
Are you saying I should make it virtual?
Other ha
pfeldman
2015/06/09 19:04:23
virtual for now, change to override later.
| |
21 | |
estark
2015/06/09 18:48:25
Sorry, I should have been more specific in my last
pfeldman
2015/06/09 19:04:23
This is a good point - you need a generic SetClien
| |
22 Response Enable(); | |
23 Response Disable(); | |
24 | |
25 private: | |
26 | |
27 DISALLOW_COPY_AND_ASSIGN(SecurityHandler); | |
28 }; | |
29 | |
30 } // namespace security | |
31 } // namespace devtools | |
32 } // namespace content | |
33 | |
34 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_ | |
OLD | NEW |