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

Unified Diff: chrome/browser/ui/browser_commands.h

Issue 2448943002: Refactor SecurityStateModel/Clients for simplicity and reusability. (Closed)
Patch Set: sync. Created 4 years, 1 month 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 | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.h
diff --git a/chrome/browser/ui/browser_commands.h b/chrome/browser/ui/browser_commands.h
index 61152c91b46deacfaf65c21398f54a13864d1a4e..5b22722b4483d2bb757fdbae8590f6a32f398faf 100644
--- a/chrome/browser/ui/browser_commands.h
+++ b/chrome/browser/ui/browser_commands.h
@@ -10,7 +10,6 @@
#include "build/build_config.h"
#include "chrome/browser/devtools/devtools_toggle_action.h"
#include "chrome/browser/ui/tabs/tab_strip_model_delegate.h"
-#include "components/security_state/security_state_model.h"
#include "content/public/common/page_zoom.h"
#include "printing/features/features.h"
#include "ui/base/window_open_disposition.h"
@@ -25,6 +24,10 @@ class PageState;
class WebContents;
}
+namespace security_state {
+struct SecurityInfo;
+} // namespace security_state
+
namespace chrome {
// For all commands, where a tab is not specified, the active tab is assumed.
@@ -103,11 +106,10 @@ void ManagePasswordsForPage(Browser* browser);
void SavePage(Browser* browser);
bool CanSavePage(const Browser* browser);
void ShowFindBar(Browser* browser);
-void ShowWebsiteSettings(
- Browser* browser,
- content::WebContents* web_contents,
- const GURL& url,
- const security_state::SecurityStateModel::SecurityInfo& security_info);
+void ShowWebsiteSettings(Browser* browser,
+ content::WebContents* web_contents,
+ const GURL& url,
+ const security_state::SecurityInfo& security_info);
void Print(Browser* browser);
bool CanPrint(Browser* browser);
#if BUILDFLAG(ENABLE_BASIC_PRINTING)
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698