summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete
diff options
context:
space:
mode:
authormeelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 21:50:33 +0000
committermeelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 21:50:33 +0000
commit379c2b1a13d25f8457e0d602cab20e42961825bd (patch)
tree268a4574a8f2a7cc6da3cea7dc11a7fc1877d735 /chrome/browser/autocomplete
parenta0ac629c9409d6b268f51fea12a4b284870e7095 (diff)
downloadchromium_src-379c2b1a13d25f8457e0d602cab20e42961825bd.zip
chromium_src-379c2b1a13d25f8457e0d602cab20e42961825bd.tar.gz
chromium_src-379c2b1a13d25f8457e0d602cab20e42961825bd.tar.bz2
Moved typedef of RedirectList from HistoryService class to history namespace.
Review URL: http://codereview.chromium.org/151168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r--chrome/browser/autocomplete/history_contents_provider_unittest.cc2
-rw-r--r--chrome/browser/autocomplete/history_url_provider.cc2
-rw-r--r--chrome/browser/autocomplete/history_url_provider_unittest.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/autocomplete/history_contents_provider_unittest.cc b/chrome/browser/autocomplete/history_contents_provider_unittest.cc
index 2e6fd59..8930353 100644
--- a/chrome/browser/autocomplete/history_contents_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_contents_provider_unittest.cc
@@ -67,7 +67,7 @@ class HistoryContentsProviderTest : public testing::Test,
Time t = Time::Now() - TimeDelta::FromDays(arraysize(test_entries) + i);
history_service->AddPage(url, t, id_scope, i, GURL(),
- PageTransition::LINK, HistoryService::RedirectList(), false);
+ PageTransition::LINK, history::RedirectList(), false);
history_service->SetPageTitle(url, test_entries[i].title);
history_service->SetPageContents(url, test_entries[i].body);
}
diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc
index 18c1269..fb819d2 100644
--- a/chrome/browser/autocomplete/history_url_provider.cc
+++ b/chrome/browser/autocomplete/history_url_provider.cc
@@ -747,7 +747,7 @@ void HistoryURLProvider::CullRedirects(history::HistoryBackend* backend,
(source < matches->size()) && (source < max_results); ) {
const GURL& url = (*matches)[source].url_info.url();
// TODO(brettw) this should go away when everything uses GURL.
- HistoryService::RedirectList redirects;
+ history::RedirectList redirects;
backend->GetMostRecentRedirectsFrom(url, &redirects);
if (!redirects.empty()) {
// Remove all but the first occurrence of any of these redirects in the
diff --git a/chrome/browser/autocomplete/history_url_provider_unittest.cc b/chrome/browser/autocomplete/history_url_provider_unittest.cc
index 429e9c1..370fb1c 100644
--- a/chrome/browser/autocomplete/history_url_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc
@@ -316,7 +316,7 @@ TEST_F(HistoryURLProviderTest, CullRedirects) {
// will appear in A,B,C order in the results. The autocomplete query will
// search for the most recent visit when looking for redirects, so this will
// be found even though the previous visits had no redirects.
- HistoryService::RedirectList redirects_to_a;
+ history::RedirectList redirects_to_a;
redirects_to_a.push_back(GURL(redirect[1].url));
redirects_to_a.push_back(GURL(redirect[2].url));
redirects_to_a.push_back(GURL(redirect[0].url));