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

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

Issue 1314843007: Refactor connection_security into SecurityStateModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: create SecurityStateModel for chromeos login webview Created 5 years, 3 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
« no previous file with comments | « chrome/browser/ui/toolbar/chrome_toolbar_model.h ('k') | chrome/browser/ui/toolbar/test_toolbar_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/toolbar/test_toolbar_model.h
diff --git a/chrome/browser/ui/toolbar/test_toolbar_model.h b/chrome/browser/ui/toolbar/test_toolbar_model.h
index 0e41c02ef8fa54700fb67d470d28e8c2796fa843..1bc04f5bc1033a1e67286a8d7292e4b20f120e86 100644
--- a/chrome/browser/ui/toolbar/test_toolbar_model.h
+++ b/chrome/browser/ui/toolbar/test_toolbar_model.h
@@ -21,7 +21,7 @@ class TestToolbarModel : public ChromeToolbarModel {
base::string16 GetCorpusNameForMobile() const override;
GURL GetURL() const override;
bool WouldPerformSearchTermReplacement(bool ignore_editing) const override;
- connection_security::SecurityLevel GetSecurityLevel(
+ SecurityStateModel::SecurityLevel GetSecurityLevel(
bool ignore_editing) const override;
int GetIcon() const override;
base::string16 GetEVCertName() const override;
@@ -33,7 +33,7 @@ class TestToolbarModel : public ChromeToolbarModel {
bool perform_search_term_replacement) {
perform_search_term_replacement_ = perform_search_term_replacement;
}
- void set_security_level(connection_security::SecurityLevel security_level) {
+ void set_security_level(SecurityStateModel::SecurityLevel security_level) {
security_level_ = security_level;
}
void set_icon(int icon) { icon_ = icon; }
@@ -48,7 +48,7 @@ class TestToolbarModel : public ChromeToolbarModel {
base::string16 text_;
GURL url_;
bool perform_search_term_replacement_;
- connection_security::SecurityLevel security_level_;
+ SecurityStateModel::SecurityLevel security_level_;
int icon_;
base::string16 ev_cert_name_;
bool should_display_url_;
« no previous file with comments | « chrome/browser/ui/toolbar/chrome_toolbar_model.h ('k') | chrome/browser/ui/toolbar/test_toolbar_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698