summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 01:10:00 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 01:10:00 +0000
commitcb04f5e5c0daa653804170001499efb72dc610e5 (patch)
treef87b2e073aaacb155f4ba8fe2cf939383334c76b /chrome/browser/autocomplete
parenta26727ffaf49d677a030960d6ec8f14dbbfd98d3 (diff)
downloadchromium_src-cb04f5e5c0daa653804170001499efb72dc610e5.zip
chromium_src-cb04f5e5c0daa653804170001499efb72dc610e5.tar.gz
chromium_src-cb04f5e5c0daa653804170001499efb72dc610e5.tar.bz2
net: Move ResponseCookies into the net namespace.
BUG=81612 TEST=None R=wtc@chromium.org,willchan@chromium.org Review URL: http://codereview.chromium.org/6932025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84375 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r--chrome/browser/autocomplete/search_provider.cc2
-rw-r--r--chrome/browser/autocomplete/search_provider.h2
-rw-r--r--chrome/browser/autocomplete/search_provider_unittest.cc14
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.