diff options
author | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-09 17:24:30 +0000 |
---|---|---|
committer | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-09 17:24:30 +0000 |
commit | 422a0b90cbcd884221d3fabac3507dd964e5a064 (patch) | |
tree | 43b636c7e063afe2ab3152c724de4688bbb28fc1 /chrome/browser/autocomplete | |
parent | 829a0c65bbded9a3262d5164e612ebdbc961d3c5 (diff) | |
download | chromium_src-422a0b90cbcd884221d3fabac3507dd964e5a064.zip chromium_src-422a0b90cbcd884221d3fabac3507dd964e5a064.tar.gz chromium_src-422a0b90cbcd884221d3fabac3507dd964e5a064.tar.bz2 |
Step 3 integrating the HistoryQuickProvider: Implement searching and production of search results in the InMemoryURLIndex. Unit test the production of results. Minor change in URLHistoryProvuder unit test setup.
BUG=None
TEST=None (unit tests added)
Review URL: http://codereview.chromium.org/3364004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58955 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r-- | chrome/browser/autocomplete/history_url_provider_unittest.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/autocomplete/history_url_provider_unittest.cc b/chrome/browser/autocomplete/history_url_provider_unittest.cc index ae8f376..9a42592 100644 --- a/chrome/browser/autocomplete/history_url_provider_unittest.cc +++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -24,10 +24,7 @@ struct TestURLInfo { std::string title; int visit_count; int typed_count; -}; - -// Contents of the test database. -static TestURLInfo test_db[] = { +} test_db[] = { {"http://www.google.com/", "Google", 3, 3}, // High-quality pages should get a host synthesized as a lower-quality match. |