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

Unified Diff: chrome/browser/protector/default_search_provider_change.cc

Issue 9968016: Move the URL string from TemplateURLRef onto the owning TemplateURL. This will make it easier to m… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/protector/default_search_provider_change.cc
===================================================================
--- chrome/browser/protector/default_search_provider_change.cc (revision 130285)
+++ chrome/browser/protector/default_search_provider_change.cc (working copy)
@@ -54,13 +54,11 @@
return false;
return url->short_name() == other_->short_name() &&
AreKeywordsSame(url, other_) &&
- TemplateURLRef::SameUrlRefs(url->url(), other_->url()) &&
- TemplateURLRef::SameUrlRefs(url->suggestions_url(),
- other_->suggestions_url()) &&
- TemplateURLRef::SameUrlRefs(url->instant_url(),
- other_->instant_url()) &&
+ url->url() == other_->url() &&
+ url->suggestions_url() == other_->suggestions_url() &&
+ url->instant_url() == other_->instant_url() &&
+ url->safe_for_autoreplace() == other_->safe_for_autoreplace() &&
url->favicon_url() == other_->favicon_url() &&
- url->safe_for_autoreplace() == other_->safe_for_autoreplace() &&
url->show_in_default_list() == other_->show_in_default_list() &&
url->input_encodings() == other_->input_encodings() &&
url->prepopulate_id() == other_->prepopulate_id();

Powered by Google App Engine
This is Rietveld 408576698