diff options
Diffstat (limited to 'chrome/browser/autocomplete')
| -rw-r--r-- | chrome/browser/autocomplete/search_provider.cc | 2 | ||||
| -rw-r--r-- | chrome/browser/autocomplete/search_provider.h | 2 | ||||
| -rw-r--r-- | chrome/browser/autocomplete/search_provider_unittest.cc | 14 |
3 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/autocomplete/search_provider.cc b/chrome/browser/autocomplete/search_provider.cc index 589b31a..fd40f47 100644 --- a/chrome/browser/autocomplete/search_provider.cc +++ b/chrome/browser/autocomplete/search_provider.cc @@ -234,7 +234,7 @@ void SearchProvider::OnURLFetchComplete(const URLFetcher* source, const GURL& url, const net::URLRequestStatus& status, int response_code, - const ResponseCookies& cookie, + const net::ResponseCookies& cookie, const std::string& data) { DCHECK(!done_); suggest_results_pending_--; diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h index 982cf75..e627cb4 100644 --- a/chrome/browser/autocomplete/search_provider.h +++ b/chrome/browser/autocomplete/search_provider.h @@ -72,7 +72,7 @@ class SearchProvider : public AutocompleteProvider, const GURL& url, const net::URLRequestStatus& status, int response_code, - const ResponseCookies& cookies, + const net::ResponseCookies& cookies, const std::string& data); // ID used in creating URLFetcher for default provider's suggest results. diff --git a/chrome/browser/autocomplete/search_provider_unittest.cc b/chrome/browser/autocomplete/search_provider_unittest.cc index 4f9b104..8156b63 100644 --- a/chrome/browser/autocomplete/search_provider_unittest.cc +++ b/chrome/browser/autocomplete/search_provider_unittest.cc @@ -212,8 +212,8 @@ void SearchProviderTest::FinishDefaultSuggestQuery() { // Tell the SearchProvider the default suggest query is done. default_fetcher->delegate()->OnURLFetchComplete( - default_fetcher, GURL(), net::URLRequestStatus(), 200, ResponseCookies(), - std::string()); + default_fetcher, GURL(), net::URLRequestStatus(), 200, + net::ResponseCookies(), std::string()); } // Tests ----------------------------------------------------------------------- @@ -236,7 +236,7 @@ TEST_F(SearchProviderTest, QueryDefaultProvider) { // Tell the SearchProvider the suggest query is done. fetcher->delegate()->OnURLFetchComplete( - fetcher, GURL(), net::URLRequestStatus(), 200, ResponseCookies(), + fetcher, GURL(), net::URLRequestStatus(), 200, net::ResponseCookies(), std::string()); fetcher = NULL; @@ -284,8 +284,8 @@ TEST_F(SearchProviderTest, QueryKeywordProvider) { // Tell the SearchProvider the default suggest query is done. default_fetcher->delegate()->OnURLFetchComplete( - default_fetcher, GURL(), net::URLRequestStatus(), 200, ResponseCookies(), - std::string()); + default_fetcher, GURL(), net::URLRequestStatus(), 200, + net::ResponseCookies(), std::string()); default_fetcher = NULL; // Make sure the keyword providers suggest service was queried. @@ -300,8 +300,8 @@ TEST_F(SearchProviderTest, QueryKeywordProvider) { // Tell the SearchProvider the keyword suggest query is done. keyword_fetcher->delegate()->OnURLFetchComplete( - keyword_fetcher, GURL(), net::URLRequestStatus(), 200, ResponseCookies(), - std::string()); + keyword_fetcher, GURL(), net::URLRequestStatus(), 200, + net::ResponseCookies(), std::string()); keyword_fetcher = NULL; // Run till the history results complete. |
