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

Unified Diff: chrome/browser/ui/toolbar/test_toolbar_model.cc

Issue 1169213006: Make ConnectionSecurityHelper a namespace instead of a class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months 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/toolbar/test_toolbar_model.cc
diff --git a/chrome/browser/ui/toolbar/test_toolbar_model.cc b/chrome/browser/ui/toolbar/test_toolbar_model.cc
index b345a1b9e82b398c61263593eef34ecaf5d94e1a..977efe9cace5ed926366ef74a8e1970eb964cc62 100644
--- a/chrome/browser/ui/toolbar/test_toolbar_model.cc
+++ b/chrome/browser/ui/toolbar/test_toolbar_model.cc
@@ -9,7 +9,7 @@
TestToolbarModel::TestToolbarModel()
: ToolbarModel(),
perform_search_term_replacement_(false),
- security_level_(ConnectionSecurityHelper::NONE),
+ security_level_(ConnectionSecurityStatus::NONE),
icon_(IDR_LOCATION_BAR_HTTP),
should_display_url_(true) {
}
@@ -37,7 +37,7 @@ bool TestToolbarModel::WouldPerformSearchTermReplacement(
return perform_search_term_replacement_;
}
-ConnectionSecurityHelper::SecurityLevel TestToolbarModel::GetSecurityLevel(
+ConnectionSecurityStatus::SecurityLevel TestToolbarModel::GetSecurityLevel(
bool ignore_editing) const {
return security_level_;
}
@@ -47,12 +47,12 @@ int TestToolbarModel::GetIcon() const {
}
int TestToolbarModel::GetIconForSecurityLevel(
- ConnectionSecurityHelper::SecurityLevel level) const {
+ ConnectionSecurityStatus::SecurityLevel level) const {
return icon_;
}
base::string16 TestToolbarModel::GetEVCertName() const {
- return (security_level_ == ConnectionSecurityHelper::EV_SECURE)
+ return (security_level_ == ConnectionSecurityStatus::EV_SECURE)
? ev_cert_name_
: base::string16();
}

Powered by Google App Engine
This is Rietveld 408576698