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

Unified Diff: chrome/browser/ui/browser_window.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_dialogs.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 8afc26f388afeef789736b9374c5466d1ea647dc..a2eb2485ce0a048df67e24ac2654ca32e36faab1 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -16,7 +16,6 @@
#include "chrome/browser/ui/sync/one_click_signin_sync_starter.h"
#include "chrome/common/features.h"
#include "components/content_settings/core/common/content_settings_types.h"
-#include "components/security_state/security_state_model.h"
#include "components/signin/core/browser/signin_header_helper.h"
#include "components/translate/core/common/translate_errors.h"
#include "ui/base/base_window.h"
@@ -58,6 +57,10 @@ class Rect;
class Size;
}
+namespace security_state {
+struct SecurityInfo;
+} // namespace security_state
+
namespace signin_metrics {
enum class AccessPoint;
}
@@ -301,8 +304,7 @@ class BrowserWindow : public ui::BaseWindow {
Profile* profile,
content::WebContents* web_contents,
const GURL& virtual_url,
- const security_state::SecurityStateModel::SecurityInfo&
- security_info) = 0;
+ const security_state::SecurityInfo& security_info) = 0;
// Shows the app menu (for accessibility).
virtual void ShowAppMenu() = 0;
« no previous file with comments | « chrome/browser/ui/browser_dialogs.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698