summaryrefslogtreecommitdiffstats
path: root/components/omnibox/browser/in_memory_url_index_test_util.h
blob: 42e3d10ed291c290cb1f2352f02fd68409cbb163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2016 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.

#ifndef COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TEST_UTIL_H_
#define COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TEST_UTIL_H_

class InMemoryURLIndex;

// If the given |index| is in the process of restoring, blocks until the restore
// is complete.
void BlockUntilInMemoryURLIndexIsRefreshed(InMemoryURLIndex* index);

#endif  // COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TEST_UTIL_H_