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

Unified Diff: chrome/browser/autocomplete/search_provider_unittest.cc

Issue 8375039: Create a content::UrlFetcher interface that lives in content/public/common and convert users to i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 9 years, 2 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
« no previous file with comments | « chrome/browser/autocomplete/search_provider.cc ('k') | chrome/browser/autofill/autofill_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/search_provider_unittest.cc
===================================================================
--- chrome/browser/autocomplete/search_provider_unittest.cc (revision 107061)
+++ chrome/browser/autocomplete/search_provider_unittest.cc (working copy)
@@ -259,7 +259,7 @@
// And the URL matches what we expected.
GURL expected_url = GURL(default_t_url_->suggestions_url()->
ReplaceSearchTerms(*default_t_url_, term, 0, string16()));
- ASSERT_TRUE(fetcher->original_url() == expected_url);
+ ASSERT_TRUE(fetcher->GetOriginalUrl() == expected_url);
// Tell the SearchProvider the suggest query is done.
fetcher->set_response_code(200);
@@ -319,7 +319,7 @@
// And the URL matches what we expected.
GURL expected_url = GURL(keyword_t_url_->suggestions_url()->
ReplaceSearchTerms(*keyword_t_url_, term, 0, string16()));
- ASSERT_TRUE(keyword_fetcher->original_url() == expected_url);
+ ASSERT_TRUE(keyword_fetcher->GetOriginalUrl() == expected_url);
// Tell the SearchProvider the keyword suggest query is done.
keyword_fetcher->set_response_code(200);
« no previous file with comments | « chrome/browser/autocomplete/search_provider.cc ('k') | chrome/browser/autofill/autofill_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698