| Index: chrome/browser/autocomplete/shortcuts_backend.h
|
| diff --git a/chrome/browser/autocomplete/shortcuts_backend.h b/chrome/browser/autocomplete/shortcuts_backend.h
|
| index 0e89d9a908fd8f19a26424ed1b7e433cf521633f..64f3bcc5f6434dd9cf7c8990fe3120b77bcec31b 100644
|
| --- a/chrome/browser/autocomplete/shortcuts_backend.h
|
| +++ b/chrome/browser/autocomplete/shortcuts_backend.h
|
| @@ -80,6 +80,7 @@ class ShortcutsBackend : public RefcountedBrowserContextKeyedService,
|
| friend class base::RefCountedThreadSafe<ShortcutsBackend>;
|
| friend class ShortcutsProviderTest;
|
| friend class ShortcutsBackendTest;
|
| + FRIEND_TEST_ALL_PREFIXES(ShortcutsBackendTest, EntitySuggestionTest);
|
|
|
| enum CurrentState {
|
| NOT_INITIALIZED, // Backend created but not initialized.
|
| @@ -93,7 +94,7 @@ class ShortcutsBackend : public RefcountedBrowserContextKeyedService,
|
| virtual ~ShortcutsBackend();
|
|
|
| static history::ShortcutsDatabase::Shortcut::MatchCore MatchToMatchCore(
|
| - const AutocompleteMatch& match);
|
| + const AutocompleteMatch& match, Profile* profile);
|
|
|
| // RefcountedBrowserContextKeyedService:
|
| virtual void ShutdownOnUIThread() OVERRIDE;
|
| @@ -127,6 +128,7 @@ class ShortcutsBackend : public RefcountedBrowserContextKeyedService,
|
| // Deletes all of the shortcuts.
|
| bool DeleteAllShortcuts();
|
|
|
| + Profile* profile_;
|
| CurrentState current_state_;
|
| ObserverList<ShortcutsBackendObserver> observer_list_;
|
| scoped_refptr<history::ShortcutsDatabase> db_;
|
|
|