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

Unified Diff: chrome/browser/sync/test/integration/search_engines_helper.cc

Issue 10033017: More misc. cleanups to minimize future refactoring diffs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/sync/test/integration/search_engines_helper.cc
===================================================================
--- chrome/browser/sync/test/integration/search_engines_helper.cc (revision 131375)
+++ chrome/browser/sync/test/integration/search_engines_helper.cc (working copy)
@@ -54,7 +54,6 @@
bool TURLsMatch(const TemplateURL* turl1, const TemplateURL* turl2) {
CHECK(turl1);
CHECK(turl2);
-
bool result = (turl1->url() == turl2->url()) &&
(turl1->keyword() == turl2->keyword()) &&
(turl1->short_name() == turl2->short_name());
@@ -188,9 +187,9 @@
TemplateURLData data;
data.short_name = CreateKeyword(seed);
data.SetKeyword(keyword);
- data.safe_for_autoreplace = true;
data.SetURL(url);
data.favicon_url = GURL("http://favicon.url");
+ data.safe_for_autoreplace = true;
data.date_created = base::Time::FromTimeT(100);
data.last_modified = base::Time::FromTimeT(100);
data.prepopulate_id = 999999;

Powered by Google App Engine
This is Rietveld 408576698