| 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 2b7031a7b1b5c251ba38556e9c9791fa3318a3be..291d1a3b0ec069773f9678e11347d92c488d1567 100644
|
| --- a/chrome/browser/ui/toolbar/test_toolbar_model.h
|
| +++ b/chrome/browser/ui/toolbar/test_toolbar_model.h
|
| @@ -20,7 +20,8 @@ class TestToolbarModel : public ToolbarModel {
|
| bool display_search_urls_as_search_terms) const OVERRIDE;
|
| virtual string16 GetCorpusNameForMobile() const OVERRIDE;
|
| virtual GURL GetURL() const OVERRIDE;
|
| - virtual bool WouldReplaceSearchURLWithSearchTerms() const OVERRIDE;
|
| + virtual SearchTermType GetSearchTermType() const OVERRIDE;
|
| + virtual void SetIsProminentSearchTermUISupported(bool value) OVERRIDE;
|
| virtual SecurityLevel GetSecurityLevel() const OVERRIDE;
|
| virtual int GetIcon() const OVERRIDE;
|
| virtual string16 GetEVCertName() const OVERRIDE;
|
| @@ -30,8 +31,8 @@ class TestToolbarModel : public ToolbarModel {
|
|
|
| void set_text(const string16& text) { text_ = text; }
|
| void set_url(const GURL& url) { url_ = url;}
|
| - void set_replace_search_url_with_search_terms(bool should_replace_url) {
|
| - should_replace_url_ = should_replace_url;
|
| + void set_search_term_type(SearchTermType type) {
|
| + search_term_type_ = type;
|
| }
|
| void set_security_level(SecurityLevel security_level) {
|
| security_level_ = security_level;
|
| @@ -47,7 +48,7 @@ class TestToolbarModel : public ToolbarModel {
|
| private:
|
| string16 text_;
|
| GURL url_;
|
| - bool should_replace_url_;
|
| + SearchTermType search_term_type_;
|
| SecurityLevel security_level_;
|
| int icon_;
|
| string16 ev_cert_name_;
|
|
|