Index: components/omnibox/browser/shortcuts_backend.h |
diff --git a/components/omnibox/browser/shortcuts_backend.h b/components/omnibox/browser/shortcuts_backend.h |
index a2fde3fab149be88a07b74c38bbcf7681b34886a..69894e4e24711b56d4b249abed2315ca20ba56a6 100644 |
--- a/components/omnibox/browser/shortcuts_backend.h |
+++ b/components/omnibox/browser/shortcuts_backend.h |
@@ -27,7 +27,14 @@ |
#include "components/search_engines/search_terms_data.h" |
#include "url/gurl.h" |
+class ShortcutsBackend; |
class TemplateURLService; |
+struct TestShortcutData; |
+ |
+void PopulateShortcutsBackendWithTestData( |
+ scoped_refptr<ShortcutsBackend> backend, |
+ TestShortcutData* db, |
+ size_t db_size); |
namespace history { |
class HistoryService; |
@@ -89,8 +96,11 @@ class ShortcutsBackend : public RefcountedKeyedService, |
private: |
friend class base::RefCountedThreadSafe<ShortcutsBackend>; |
- friend class ShortcutsProviderTest; |
friend class ShortcutsBackendTest; |
+ friend void PopulateShortcutsBackendWithTestData( |
+ scoped_refptr<ShortcutsBackend> backend, |
+ TestShortcutData* db, |
+ size_t db_size); |
FRIEND_TEST_ALL_PREFIXES(ShortcutsBackendTest, EntitySuggestionTest); |
enum CurrentState { |