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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h

Issue 2448943002: Refactor SecurityStateModel/Clients for simplicity and reusability. (Closed)
Patch Set: fix DEPS. 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/cocoa/location_bar/location_bar_view_mac.h
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
index e6b65c586ca4488156b4a9e429bf01c2201f8232..81c39d4279bcf7def464cf2f4d086c8297310b9c 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
@@ -20,7 +20,7 @@
#include "chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/prefs/pref_member.h"
-#include "components/security_state/security_state_model.h"
+#include "components/security_state/core/security_state.h"
#include "components/zoom/zoom_event_manager_observer.h"
@class AutocompleteTextField;
@@ -255,8 +255,7 @@ class LocationBarViewMac : public LocationBar,
void UpdateSecurityState(bool tab_changed);
// Returns true if |level| is SECURE or EV_SECURE.
- bool IsSecureConnection(
- security_state::SecurityStateModel::SecurityLevel level) const;
+ bool IsSecureConnection(security_state::SecurityLevel level) const;
// Returns pointers to all of the LocationBarDecorations owned by this
// LocationBarViewMac. This helper function is used for positioning and
@@ -336,7 +335,7 @@ class LocationBarViewMac : public LocationBar,
bool is_width_available_for_security_verbose_;
// The security level of the location bar icon.
- security_state::SecurityStateModel::SecurityLevel security_level_;
+ security_state::SecurityLevel security_level_;
// Used to schedule a task for the first run info bubble.
base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698