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

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

Issue 8416020: Handle additional feedback from http://codereview.chromium.org/8395038/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
Index: chrome/browser/autocomplete/search_provider_unittest.cc
===================================================================
--- chrome/browser/autocomplete/search_provider_unittest.cc (revision 107626)
+++ chrome/browser/autocomplete/search_provider_unittest.cc (working copy)
@@ -31,7 +31,7 @@
// added to history.
// . The URL created by using the search term keyword_term_ with keyword_t_url_
// is added to history.
-// . test_factory_ is set as the URLFetcher::Factory.
+// . test_factory_ is set as the URLFetcherFactory.
class SearchProviderTest : public testing::Test,
public AutocompleteProvider::ACProviderListener {
public:
@@ -91,7 +91,7 @@
MessageLoopForUI message_loop_;
BrowserThread io_thread_;
- // URLFetcher::Factory implementation registered.
+ // URLFetcherFactory implementation registered.
TestURLFetcherFactory test_factory_;
// Profile we use.
@@ -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->GetOriginalUrl() == 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->GetOriginalUrl() == expected_url);
+ ASSERT_TRUE(keyword_fetcher->GetOriginalURL() == expected_url);
// Tell the SearchProvider the keyword suggest query is done.
keyword_fetcher->set_response_code(200);

Powered by Google App Engine
This is Rietveld 408576698