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

Unified Diff: chrome/browser/search_engines/template_url_fetcher_unittest.cc

Issue 9965143: Revert 130431 - Move the URL string from TemplateURLRef onto the owning TemplateURL. This will mak… (Closed) Base URL: svn://svn.chromium.org/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/search_engines/template_url_fetcher_unittest.cc
===================================================================
--- chrome/browser/search_engines/template_url_fetcher_unittest.cc (revision 130565)
+++ chrome/browser/search_engines/template_url_fetcher_unittest.cc (working copy)
@@ -180,7 +180,7 @@
keyword);
ASSERT_TRUE(t_url);
EXPECT_EQ(ASCIIToUTF16("http://example.com/%s/other_stuff"),
- t_url->url_ref().DisplayURL());
+ t_url->url()->DisplayURL());
EXPECT_TRUE(t_url->safe_for_autoreplace());
}
@@ -246,7 +246,7 @@
ASSERT_TRUE(last_callback_template_url_.get());
EXPECT_EQ(ASCIIToUTF16("http://example.com/%s/other_stuff"),
- last_callback_template_url_->url_ref().DisplayURL());
+ last_callback_template_url_->url()->DisplayURL());
EXPECT_EQ(ASCIIToUTF16("example.com"),
last_callback_template_url_->keyword());
EXPECT_FALSE(last_callback_template_url_->safe_for_autoreplace());
@@ -279,7 +279,7 @@
ASSERT_TRUE(last_callback_template_url_.get());
EXPECT_EQ(ASCIIToUTF16("http://example.com/%s/other_stuff"),
- last_callback_template_url_->url_ref().DisplayURL());
+ last_callback_template_url_->url()->DisplayURL());
EXPECT_EQ(ASCIIToUTF16("example.com"),
last_callback_template_url_->keyword());
EXPECT_FALSE(last_callback_template_url_->safe_for_autoreplace());
« no previous file with comments | « chrome/browser/search_engines/template_url_fetcher.cc ('k') | chrome/browser/search_engines/template_url_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698