Chromium Code Reviews| Index: content/browser/devtools/protocol/security_handler.h |
| diff --git a/content/browser/devtools/protocol/security_handler.h b/content/browser/devtools/protocol/security_handler.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0c07a7b2010af2181453f3f24125a7248bdf2849 |
| --- /dev/null |
| +++ b/content/browser/devtools/protocol/security_handler.h |
| @@ -0,0 +1,36 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_ |
| +#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_ |
| + |
| +#include "content/browser/devtools/devtools_protocol_handler.h" |
| +#include "content/public/common/security_style.h" |
| + |
| +namespace content { |
| +namespace devtools { |
| +namespace security { |
| + |
| +class SecurityHandler { |
| + public: |
| + typedef DevToolsProtocolClient::Response Response; |
| + |
| + SecurityHandler(); |
| + ~SecurityHandler(); |
| + |
| + void SetClient(scoped_ptr<Client> client); |
|
estark
2015/06/09 05:07:48
Does this build? I thought the Client definition w
lgarron
2015/06/09 18:17:24
It does not build. Not sure how I ended up committ
|
| + |
| + Response Enable(); |
| + Response Disable(); |
| + |
| + private: |
| + |
| + DISALLOW_COPY_AND_ASSIGN(SecurityHandler); |
| +}; |
| + |
| +} // namespace security |
| +} // namespace devtools |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_ |