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

Unified Diff: chrome/browser/search_engines/template_url_fetcher_unittest.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/search_engines/template_url_fetcher_unittest.cc
===================================================================
--- chrome/browser/search_engines/template_url_fetcher_unittest.cc (revision 130285)
+++ chrome/browser/search_engines/template_url_fetcher_unittest.cc (working copy)
@@ -178,7 +178,7 @@
keyword);
ASSERT_TRUE(t_url);
EXPECT_EQ(ASCIIToUTF16("http://example.com/%s/other_stuff"),
- t_url->url()->DisplayURL());
+ t_url->url_ref().DisplayURL());
EXPECT_TRUE(t_url->safe_for_autoreplace());
}
@@ -243,7 +243,7 @@
ASSERT_TRUE(last_callback_template_url_.get());
EXPECT_EQ(ASCIIToUTF16("http://example.com/%s/other_stuff"),
- last_callback_template_url_->url()->DisplayURL());
+ last_callback_template_url_->url_ref().DisplayURL());
EXPECT_EQ(ASCIIToUTF16("example.com"),
last_callback_template_url_->keyword());
EXPECT_FALSE(last_callback_template_url_->safe_for_autoreplace());
@@ -276,7 +276,7 @@
ASSERT_TRUE(last_callback_template_url_.get());
EXPECT_EQ(ASCIIToUTF16("http://example.com/%s/other_stuff"),
- last_callback_template_url_->url()->DisplayURL());
+ last_callback_template_url_->url_ref().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