Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: content/browser/devtools/protocol/security_handler.h

Issue 1165293005: Add security handler stub for sending the lock icon status to DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove SetClient() call. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/devtools/protocol/security_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e2acc66f8d92175057af9a6a7cf572dc9b48e98e
--- /dev/null
+++ b/content/browser/devtools/protocol/security_handler.h
@@ -0,0 +1,34 @@
+// 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"
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
+
+namespace content {
+namespace devtools {
+namespace security {
+
+class SecurityHandler {
+ public:
+ typedef DevToolsProtocolClient::Response Response;
+
+ SecurityHandler();
+ ~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.
+
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
+ Response Enable();
+ Response Disable();
+
+ private:
+
+ DISALLOW_COPY_AND_ASSIGN(SecurityHandler);
+};
+
+} // namespace security
+} // namespace devtools
+} // namespace content
+
+#endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_
« no previous file with comments | « no previous file | content/browser/devtools/protocol/security_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698