diff options
author | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-02 20:19:09 +0000 |
---|---|---|
committer | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-02 20:19:09 +0000 |
commit | cc9ebdac3ba30c131aec292e2e656955d56aad55 (patch) | |
tree | ed14984f45765b1c31b5f914a2e5b6e883d96624 /chrome/browser/autocomplete | |
parent | c2a9d3f938d03fbe068fe78233681356219b77c9 (diff) | |
download | chromium_src-cc9ebdac3ba30c131aec292e2e656955d56aad55.zip chromium_src-cc9ebdac3ba30c131aec292e2e656955d56aad55.tar.gz chromium_src-cc9ebdac3ba30c131aec292e2e656955d56aad55.tar.bz2 |
Move InMemoryURLIndex Caching Operations to FILE Thread
Reading and writing of the InMemoryURLIndex (IMUI) cache is now peformed on the FILE thread and, when required, rebuilding of the index is performed on the history thread. Reading and rebuilding of the index from the cache file or history database are now performed as atomic operations rather than by restoring/rebuilding in-place, i.e. a new private data object is created and populated then swapped in for the live private data object.
BUG=83659
TEST=Unit tests updated/enhanced.
Previously reviewed: https://chromiumcodereview.appspot.com/9030031 (This change identical to 9030031.)
Review URL: https://chromiumcodereview.appspot.com/9703124
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130190 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r-- | chrome/browser/autocomplete/history_quick_provider_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/history_quick_provider_unittest.cc b/chrome/browser/autocomplete/history_quick_provider_unittest.cc index 026c008..cc2edfb 100644 --- a/chrome/browser/autocomplete/history_quick_provider_unittest.cc +++ b/chrome/browser/autocomplete/history_quick_provider_unittest.cc @@ -151,7 +151,8 @@ bool HistoryQuickProviderTest::UpdateURL(const history::URLRow& row) { DCHECK(index); history::URLIndexPrivateData* private_data = index->private_data(); DCHECK(private_data); - return private_data->UpdateURL(row); + return private_data->UpdateURL(row, index->languages_, + index->scheme_whitelist_); } void HistoryQuickProviderTest::OnProviderUpdate(bool updated_matches) { |