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

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

Issue 731423002: Remove OriginChip code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp file and bad merge Created 5 years, 10 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.h
diff --git a/chrome/browser/ui/toolbar/test_toolbar_model.h b/chrome/browser/ui/toolbar/test_toolbar_model.h
index 56a8e9549525fd58bdfe610d05bc71bdeb206080..614ddc531d19f5c73ee6dfe8985b87a184011ce0 100644
--- a/chrome/browser/ui/toolbar/test_toolbar_model.h
+++ b/chrome/browser/ui/toolbar/test_toolbar_model.h
@@ -29,9 +29,6 @@ class TestToolbarModel : public ToolbarModel {
void set_text(const base::string16& text) { text_ = text; }
void set_url(const GURL& url) { url_ = url;}
- void set_omit_url_due_to_origin_chip(bool omit_url_due_to_origin_chip) {
- omit_url_due_to_origin_chip_ = omit_url_due_to_origin_chip;
- }
void set_perform_search_term_replacement(
bool perform_search_term_replacement) {
perform_search_term_replacement_ = perform_search_term_replacement;
@@ -48,11 +45,8 @@ class TestToolbarModel : public ToolbarModel {
}
private:
- bool WouldOmitURLDueToOriginChip() const override;
-
base::string16 text_;
GURL url_;
- bool omit_url_due_to_origin_chip_;
bool perform_search_term_replacement_;
SecurityLevel security_level_;
int icon_;
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ('k') | chrome/browser/ui/toolbar/test_toolbar_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698