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..dd9c2a74d7b53a637a8912ba08ccafb0d791dc00 |
--- /dev/null |
+++ b/components/omnibox/browser/in_memory_url_index_test_util.h |
@@ -0,0 +1,18 @@ |
+// 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; |
+ |
+namespace history { |
+class HistoryService; |
+} |
+ |
+void RebuildInMemoryURLIndex(InMemoryURLIndex* index, |
+ history::HistoryService* history_service); |
+void BlockUntilInMemoryURLIndexIsRefreshed(InMemoryURLIndex* index); |
+ |
+#endif // COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_TEST_UTIL_H_ |