Searched refs:WebserviceCache (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/chrome/browser/ui/app_list/search/common/
H A Dwebservice_cache_factory.cc19 WebserviceCache* WebserviceCacheFactory::GetForBrowserContext(
21 return static_cast<WebserviceCache*>(
27 "app_list::WebserviceCache",
34 return new WebserviceCache(context);
H A Dwebservice_cache.cc25 void WebserviceCache::CacheDeletor::operator()(Payload& payload) {
29 WebserviceCache::WebserviceCache(content::BrowserContext* context) function in class:app_list::WebserviceCache
36 data_store_->Load(base::Bind(&WebserviceCache::OnCacheLoaded, AsWeakPtr()));
39 WebserviceCache::~WebserviceCache() {
42 const CacheResult WebserviceCache::Get(QueryType type,
57 void WebserviceCache::Put(QueryType type,
78 void WebserviceCache::OnCacheLoaded(scoped_ptr<base::DictionaryValue>) {
107 bool WebserviceCache
[all...]
H A Dwebservice_cache.h37 // WebserviceCache manages a cache of search results which should be valid
41 class WebserviceCache : public KeyedService, class in namespace:app_list
42 public base::SupportsWeakPtr<WebserviceCache> {
49 explicit WebserviceCache(content::BrowserContext* context);
50 virtual ~WebserviceCache();
108 DISALLOW_COPY_AND_ASSIGN(WebserviceCache);
H A Dwebservice_cache_factory.h18 class WebserviceCache;
27 static WebserviceCache* GetForBrowserContext(
H A Dwebservice_search_provider.h19 class WebserviceCache;
37 WebserviceCache* cache_; // KeyedService, not owned.
/external/chromium_org/chrome/browser/ui/app_list/search/people/
H A Dpeople_provider.cc64 const CacheResult result = cache_->Get(WebserviceCache::PEOPLE, query_);
153 cache_->Put(WebserviceCache::PEOPLE, query_, json.Pass());
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/
H A Dwebstore_provider.cc70 const CacheResult result = cache_->Get(WebserviceCache::WEBSTORE, query_);
111 cache_->Put(WebserviceCache::WEBSTORE, query_, json.Pass());

Completed in 1184 milliseconds