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

Unified Diff: ios/chrome/browser/ui/omnibox/omnibox_util.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 | « ios/chrome/browser/ui/omnibox/BUILD.gn ('k') | ios/chrome/browser/ui/omnibox/omnibox_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/omnibox/omnibox_util.h
diff --git a/ios/chrome/browser/ui/omnibox/omnibox_util.h b/ios/chrome/browser/ui/omnibox/omnibox_util.h
index 67cc3178270d9396675040e838ddd141a3182282..c0f199518e0b27541198b895281ad61c79d23916 100644
--- a/ios/chrome/browser/ui/omnibox/omnibox_util.h
+++ b/ios/chrome/browser/ui/omnibox/omnibox_util.h
@@ -6,7 +6,7 @@
#define IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_UTIL_H_
#include "components/omnibox/browser/autocomplete_match_type.h"
-#include "components/security_state/security_state_model.h"
+#include "components/security_state/core/security_state.h"
// Converts |type| to a resource identifier for the appropriate icon for this
// type to show in the omnibox.
@@ -16,7 +16,6 @@ int GetIconForAutocompleteMatchType(AutocompleteMatchType::Type type,
// Converts |security_level| to a resource identifier for the appropriate icon
// for this security level in the omnibox.
-int GetIconForSecurityState(
- security_state::SecurityStateModel::SecurityLevel security_level);
+int GetIconForSecurityState(security_state::SecurityLevel security_level);
#endif // IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_UTIL_H_
« no previous file with comments | « ios/chrome/browser/ui/omnibox/BUILD.gn ('k') | ios/chrome/browser/ui/omnibox/omnibox_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698