Home | History | Annotate | Download | only in history

Lines Matching defs:Shortcut

22 // This class manages the shortcut provider table within the SQLite database
30 // url The url of the shortcut.
42 // The following struct encapsulates one previously selected omnibox shortcut.
43 struct Shortcut {
44 // The fields of an AutocompleteMatch that we preserve in a shortcut.
71 Shortcut(const std::string& id,
77 Shortcut();
78 ~Shortcut();
80 std::string id; // Unique guid for the shortcut.
83 base::Time last_access_time; // Last time shortcut was selected.
84 int number_of_hits; // How many times shortcut was selected.
88 typedef std::map<std::string, Shortcut> GuidToShortcutMap;
94 // Adds the ShortcutsProvider::Shortcut to the database.
95 bool AddShortcut(const Shortcut& shortcut);
97 // Updates timing and selection count for the ShortcutsProvider::Shortcut.
98 bool UpdateShortcut(const Shortcut& shortcut);