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

Side by Side Diff: content/browser/devtools/protocol/security_handler.h

Issue 1181293003: Expand SecurityStyleChanged interfaces to include explanations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add CONTENT_EXPORT 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_
7 7
8 #include "content/browser/devtools/devtools_protocol_handler.h" 8 #include "content/browser/devtools/devtools_protocol_handler.h"
9 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h" 9 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
(...skipping 12 matching lines...) Expand all
23 23
24 void SetClient(scoped_ptr<Client> client); 24 void SetClient(scoped_ptr<Client> client);
25 void SetRenderFrameHost(RenderFrameHost* host); 25 void SetRenderFrameHost(RenderFrameHost* host);
26 26
27 Response Enable(); 27 Response Enable();
28 Response Disable(); 28 Response Disable();
29 29
30 private: 30 private:
31 31
32 // WebContentsObserver overrides 32 // WebContentsObserver overrides
33 void SecurityStyleChanged(SecurityStyle security_style) override; 33 void SecurityStyleChanged(
34 SecurityStyle security_style,
35 const SecurityStyleExplanations& security_style_explanations) override;
34 36
35 scoped_ptr<Client> client_; 37 scoped_ptr<Client> client_;
36 bool enabled_; 38 bool enabled_;
37 RenderFrameHost* host_; 39 RenderFrameHost* host_;
38 40
39 DISALLOW_COPY_AND_ASSIGN(SecurityHandler); 41 DISALLOW_COPY_AND_ASSIGN(SecurityHandler);
40 }; 42 };
41 43
42 } // namespace security 44 } // namespace security
43 } // namespace devtools 45 } // namespace devtools
44 } // namespace content 46 } // namespace content
45 47
46 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_ 48 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SECURITY_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | content/browser/devtools/protocol/security_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698