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

Unified Diff: chrome/browser/autocomplete/shortcuts_backend.h

Issue 211283005: Revert of Handle Search suggest subtypes for Shortcuts DB (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: chrome/browser/autocomplete/shortcuts_backend.h
diff --git a/chrome/browser/autocomplete/shortcuts_backend.h b/chrome/browser/autocomplete/shortcuts_backend.h
index 64f3bcc5f6434dd9cf7c8990fe3120b77bcec31b..0e89d9a908fd8f19a26424ed1b7e433cf521633f 100644
--- a/chrome/browser/autocomplete/shortcuts_backend.h
+++ b/chrome/browser/autocomplete/shortcuts_backend.h
@@ -80,7 +80,6 @@
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.
@@ -94,7 +93,7 @@
virtual ~ShortcutsBackend();
static history::ShortcutsDatabase::Shortcut::MatchCore MatchToMatchCore(
- const AutocompleteMatch& match, Profile* profile);
+ const AutocompleteMatch& match);
// RefcountedBrowserContextKeyedService:
virtual void ShutdownOnUIThread() OVERRIDE;
@@ -128,7 +127,6 @@
// Deletes all of the shortcuts.
bool DeleteAllShortcuts();
- Profile* profile_;
CurrentState current_state_;
ObserverList<ShortcutsBackendObserver> observer_list_;
scoped_refptr<history::ShortcutsDatabase> db_;
« no previous file with comments | « chrome/browser/autocomplete/base_search_provider.cc ('k') | chrome/browser/autocomplete/shortcuts_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698