Index: ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm |
diff --git a/ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm b/ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm |
index b97831fa2fc47eccc3020724caa0b7ad94cb3e55..651180354a264b65dd6470eb36707a836d6c51db 100644 |
--- a/ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm |
+++ b/ios/chrome/browser/ui/toolbar/test_toolbar_model_ios.mm |
@@ -20,7 +20,7 @@ TestToolbarModelIOS::TestToolbarModelIOS() |
TestToolbarModelIOS::~TestToolbarModelIOS() {} |
-ToolbarModel* TestToolbarModelIOS::GetToolbarModel() { |
+TestToolbarModel* TestToolbarModelIOS::GetToolbarModel() { |
return test_toolbar_model_.get(); |
} |
@@ -55,3 +55,32 @@ bool TestToolbarModelIOS::IsCurrentTabBookmarkedByUser() { |
bool TestToolbarModelIOS::ShouldDisplayHintText() { |
return false; |
} |
+ |
+base::string16 TestToolbarModelIOS::GetFormattedURL(size_t* prefix_end) const { |
+ return test_toolbar_model_->GetFormattedURL(prefix_end); |
+} |
+ |
+GURL TestToolbarModelIOS::GetURL() const { |
+ return test_toolbar_model_->GetURL(); |
+} |
+ |
+security_state::SecurityLevel TestToolbarModelIOS::GetSecurityLevel( |
+ bool ignore_editing) const { |
+ return test_toolbar_model_->GetSecurityLevel(ignore_editing); |
+} |
+ |
+gfx::VectorIconId TestToolbarModelIOS::GetVectorIcon() const { |
+ return test_toolbar_model_->GetVectorIcon(); |
+} |
+ |
+base::string16 TestToolbarModelIOS::GetSecureVerboseText() const { |
+ return test_toolbar_model_->GetSecureVerboseText(); |
+} |
+ |
+base::string16 TestToolbarModelIOS::GetEVCertName() const { |
+ return test_toolbar_model_->GetEVCertName(); |
+} |
+ |
+bool TestToolbarModelIOS::ShouldDisplayURL() const { |
+ return test_toolbar_model_->ShouldDisplayURL(); |
+} |