diff options
author | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-30 00:28:16 +0000 |
---|---|---|
committer | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-30 00:28:16 +0000 |
commit | 18a15ca8bd9fa01dc75cd97548d71b3b794d1599 (patch) | |
tree | 3421db673e7a44536faad25b07f329d1282216f5 /sdch | |
parent | 9658d416052100d9c885dd5cc706e66bb418fa96 (diff) | |
download | chromium_src-18a15ca8bd9fa01dc75cd97548d71b3b794d1599.zip chromium_src-18a15ca8bd9fa01dc75cd97548d71b3b794d1599.tar.gz chromium_src-18a15ca8bd9fa01dc75cd97548d71b3b794d1599.tar.bz2 |
Fix a timing assumption that is broken by decoupling History and Bookmarks.
Previously, the HistoryQuickProvider unit tests were relying on the fact that the InMemoryURLIndex used by the HistoryService is initialized by the time Bookmarks are done loading. Once that assumption is invalidated, the tests would populate the index only to have it cleared once the HistoryService initialization completed.
This CL adds a method to TestingProfile that allows one to block until the index is populated.
R=sky
BUG=144050
Review URL: https://chromiumcodereview.appspot.com/10887019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154019 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sdch')
0 files changed, 0 insertions, 0 deletions