Searched refs:ShortcutsBackend (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/autocomplete/
H A Dshortcuts_backend_factory.cc14 scoped_refptr<ShortcutsBackend> ShortcutsBackendFactory::GetForProfile(
16 return static_cast<ShortcutsBackend*>(
21 scoped_refptr<ShortcutsBackend> ShortcutsBackendFactory::GetForProfileIfExists(
23 return static_cast<ShortcutsBackend*>(
36 scoped_refptr<ShortcutsBackend> backend(
37 new ShortcutsBackend(static_cast<Profile*>(profile), false));
47 scoped_refptr<ShortcutsBackend> backend(
48 new ShortcutsBackend(static_cast<Profile*>(profile), true));
56 "ShortcutsBackend",
65 scoped_refptr<ShortcutsBackend> backen
[all...]
H A Dshortcuts_backend_factory.h14 class ShortcutsBackend;
16 // Singleton that owns all instances of ShortcutsBackend and associates them
21 static scoped_refptr<ShortcutsBackend> GetForProfile(Profile* profile);
23 static scoped_refptr<ShortcutsBackend> GetForProfileIfExists(
H A Dshortcuts_backend.h35 class ShortcutsBackend : public RefcountedBrowserContextKeyedService, class in inherits:RefcountedBrowserContextKeyedService,content::NotificationObserver
44 ShortcutsBackend(Profile* profile, bool suppress_db);
59 // Asynchronously initializes the ShortcutsBackend, it is safe to call
80 friend class base::RefCountedThreadSafe<ShortcutsBackend>;
94 virtual ~ShortcutsBackend();
151 DISALLOW_COPY_AND_ASSIGN(ShortcutsBackend);
H A Dshortcuts_provider.h25 public ShortcutsBackend::ShortcutsBackendObserver {
96 ShortcutsBackend::ShortcutMap::const_iterator FindFirstMatch(
98 ShortcutsBackend* backend);
H A Dshortcuts_backend.cc74 // ShortcutsBackend -----------------------------------------------------------
76 ShortcutsBackend::ShortcutsBackend(Profile* profile, bool suppress_db) function in class:ShortcutsBackend
96 bool ShortcutsBackend::Init() {
107 base::Bind(&ShortcutsBackend::InitInternal, this));
110 bool ShortcutsBackend::DeleteShortcutsWithURL(const GURL& shortcut_url) {
114 void ShortcutsBackend::AddObserver(ShortcutsBackendObserver* obs) {
118 void ShortcutsBackend::RemoveObserver(ShortcutsBackendObserver* obs) {
122 void ShortcutsBackend::AddOrUpdateShortcut(const base::string16& text,
141 ShortcutsBackend
[all...]
H A Dshortcuts_backend_unittest.cc27 public ShortcutsBackend::ShortcutsBackendObserver {
44 const ShortcutsBackend::ShortcutMap& shortcuts_map() const {
63 scoped_refptr<ShortcutsBackend> backend_;
96 return ShortcutsBackend::MatchToMatchCore(match, &profile_);
142 ShortcutsBackend* backend =
237 ShortcutsBackend::MatchToMatchCore(match, &profile_);
256 ShortcutsBackend::ShortcutMap::const_iterator shortcut_iter(
307 const ShortcutsBackend::ShortcutMap::const_iterator shortcut3_iter(
311 const ShortcutsBackend::ShortcutMap::const_iterator shortcut4_iter(
H A Dshortcuts_provider.cc60 scoped_refptr<ShortcutsBackend> backend =
102 scoped_refptr<ShortcutsBackend> backend =
121 scoped_refptr<ShortcutsBackend> backend =
132 scoped_refptr<ShortcutsBackend> backend =
148 for (ShortcutsBackend::ShortcutMap::const_iterator it =
364 ShortcutsBackend::ShortcutMap::const_iterator
366 ShortcutsBackend* backend) {
368 ShortcutsBackend::ShortcutMap::const_iterator it =
H A Dshortcuts_provider_unittest.cc295 scoped_refptr<ShortcutsBackend> backend_;
/external/chromium_org/chrome/browser/ui/omnibox/
H A Domnibox_navigation_observer.h19 class ShortcutsBackend;
98 scoped_refptr<ShortcutsBackend> shortcuts_backend_; // NULL in incognito.
H A Dalternate_nav_infobar_delegate.cc70 scoped_refptr<ShortcutsBackend> shortcuts_backend(
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_impl.h26 class ShortcutsBackend;
252 scoped_refptr<ShortcutsBackend> shortcuts_backend_;

Completed in 134 milliseconds