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

Unified Diff: chrome/browser/ui/search/instant_search_prerenderer_unittest.cc

Issue 2816353002: Make const versions GetTemplateURLForKeyword, GetTemplateURLForGUID, GetTemplateURLForHost (Closed)
Patch Set: Make definition and declaration order of new functions match Created 3 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/ui/search/instant_search_prerenderer_unittest.cc
diff --git a/chrome/browser/ui/search/instant_search_prerenderer_unittest.cc b/chrome/browser/ui/search/instant_search_prerenderer_unittest.cc
index 5d18b0774df4d7bc0c55fe097ec7b72681e0ca3c..b731c917b9c7a0d1b04ed32fccfeddffc77361ca 100644
--- a/chrome/browser/ui/search/instant_search_prerenderer_unittest.cc
+++ b/chrome/browser/ui/search/instant_search_prerenderer_unittest.cc
@@ -355,7 +355,7 @@ TEST_F(InstantSearchPrerendererTest, PrerenderingAllowed) {
custom_search_type_match.keyword = ASCIIToUTF16("k");
custom_search_type_match.destination_url =
GURL("https://www.dummyurl.com/search?q=fan&img=1");
- TemplateURL* template_url =
+ const TemplateURL* template_url =
custom_search_type_match.GetTemplateURL(service, false);
EXPECT_TRUE(template_url);
EXPECT_TRUE(AutocompleteMatch::IsSearchType(custom_search_type_match.type));
« no previous file with comments | « chrome/browser/ui/omnibox/chrome_omnibox_client.cc ('k') | chrome/browser/ui/search_engines/edit_search_engine_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698