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

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

Issue 2448943002: Refactor SecurityStateModel/Clients for simplicity and reusability. (Closed)
Patch Set: Remove SecurityStateModel. 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
Index: chrome/browser/ui/browser_commands.h
diff --git a/chrome/browser/ui/browser_commands.h b/chrome/browser/ui/browser_commands.h
index 984144b0ed72218fe877fdc14df7ad55711fc3bc..594122d2d6b88ed84e42804e23c2aec140b1821f 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 "ui/base/window_open_disposition.h"
@@ -24,6 +23,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.
@@ -102,11 +105,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 defined(ENABLE_BASIC_PRINTING)

Powered by Google App Engine
This is Rietveld 408576698