Index: components/omnibox/browser/in_memory_url_index_test_util.h |
diff --git a/components/omnibox/browser/in_memory_url_index_test_util.h b/components/omnibox/browser/in_memory_url_index_test_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..42e3d10ed291c290cb1f2352f02fd68409cbb163 |
--- /dev/null |
+++ b/components/omnibox/browser/in_memory_url_index_test_util.h |
@@ -0,0 +1,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_ |