Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: components/omnibox/browser/in_memory_url_index.h

Issue 1646893003: Moves shared history test helpers into util classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@history
Patch Set: Forward-declare more friends. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/omnibox/browser/in_memory_url_index.h
diff --git a/components/omnibox/browser/in_memory_url_index.h b/components/omnibox/browser/in_memory_url_index.h
index da8639ccd00090307f1164376b21ea4315d5be87..47fb4064b6d3a618371ef8cb86df448628981c1b 100644
--- a/components/omnibox/browser/in_memory_url_index.h
+++ b/components/omnibox/browser/in_memory_url_index.h
@@ -151,6 +151,9 @@ class InMemoryURLIndex : public KeyedService,
friend class ::HistoryQuickProviderTest;
friend class InMemoryURLIndexTest;
friend class InMemoryURLIndexCacheTest;
+ friend void BlockUntilInMemoryURLIndexIsRefreshed(InMemoryURLIndex* index);
+ friend void RebuildInMemoryURLIndex(InMemoryURLIndex* index,
+ history::HistoryService* history);
Peter Kasting 2016/01/30 01:09:22 Nit: Indenting
rohitrao (ping after 24h) 2016/01/31 15:45:56 Done.
FRIEND_TEST_ALL_PREFIXES(InMemoryURLIndexTest, ExpireRow);
FRIEND_TEST_ALL_PREFIXES(LimitedInMemoryURLIndexTest, Initialization);

Powered by Google App Engine
This is Rietveld 408576698