/external/chromium_org/components/dom_distiller/core/ |
dom_distiller_model.cc | 29 bool DomDistillerModel::GetEntryById(const std::string& entry_id, 32 if (!GetKeyById(entry_id, &key)) { 49 bool DomDistillerModel::GetKeyById(const std::string& entry_id, 51 StringToKeyMap::const_iterator it = entry_id_to_key_map_.find(entry_id); 109 std::string entry_id = GetEntryIdFromSyncData(*it); local 111 entries_to_change.insert(entry_id); 116 if (GetEntryById(entry_id, NULL)) { 124 if (entries_to_change.find(it->second.entry_id()) == 146 const std::string& entry_id = entry.entry_id(); local 157 const std::string& entry_id = entry.entry_id(); local 177 const std::string& entry_id = GetEntryIdFromSyncData(change.sync_data()); local [all...] |
dom_distiller_service_android.h | 28 bool HasEntry(JNIEnv* env, jobject obj, jstring entry_id); 31 jstring entry_id);
|
dom_distiller_observer.h | 25 std::string entry_id; member in struct:dom_distiller::DomDistillerObserver::ArticleUpdate
|
dom_distiller_service_android.cc | 36 const std::string entry_id = local 38 return service_->HasEntry(entry_id); 45 const std::string entry_id = local 47 return ConvertUTF8ToJavaString(env, service_->GetUrlForEntry(entry_id));
|
article_entry.cc | 60 return specifics.entry_id(); 65 const std::string& entry_id = entry.entry_id(); local 66 return syncer::SyncData::CreateLocalData(entry_id, entry_id, specifics);
|
dom_distiller_test_util.cc | 45 if (expected->entry_id != actual->entry_id) { 46 *listener << " Mismatched entry id. Expected: " << expected->entry_id 47 << " actual: " << actual->entry_id; 51 *listener << " Mismatched update for entryid:" << expected->entry_id 70 *os << "( EntryId: " << i->entry_id << ", UpdateType: " << i->update_type
|
dom_distiller_service.cc | 89 return entry.entry_id(); 111 bool DomDistillerService::HasEntry(const std::string& entry_id) { 112 return store_->GetEntryById(entry_id, NULL); 115 std::string DomDistillerService::GetUrlForEntry(const std::string& entry_id) { 117 if (store_->GetEntryById(entry_id, &entry)) { 128 const std::string& entry_id) { 130 entry->set_entry_id(entry_id); 136 if (!store_->GetEntryById(entry_id, entry.get())) { 149 const std::string& entry_id) { 151 if (!store_->GetEntryById(entry_id, &entry)) 199 const std::string& entry_id = entry.entry_id(); local [all...] |
dom_distiller_service_unittest.cc | 122 std::string entry_id("id0"); 124 entry.set_entry_id(entry_id); 132 entry_id); 252 std::string entry_id = local 265 EXPECT_EQ(entry.entry_id(), entry_id); 267 service_->RemoveEntry(entry_id); 284 std::string entry_id = local 290 service_->RemoveEntry(entry_id); 307 std::string entry_id = service_->AddToList local 348 const std::string entry_id = local 389 const std::string entry_id = local 423 std::string entry_id = service_->AddToList( local 471 std::string entry_id = service_->AddToList( local 503 std::string entry_id = service_->AddToList( local 542 std::string entry_id = service_->AddToList( local [all...] |
dom_distiller_service.h | 59 virtual bool HasEntry(const std::string& entry_id) = 0; 64 virtual std::string GetUrlForEntry(const std::string& entry_id) = 0; 70 virtual scoped_ptr<ArticleEntry> RemoveEntry(const std::string& entry_id) = 0; 73 // with |entry_id| exists. The ViewerHandle should be destroyed before the 79 // distillation task in progress for the given |entry_id|. 83 const std::string& entry_id) = 0; 129 virtual bool HasEntry(const std::string& entry_id) OVERRIDE; 130 virtual std::string GetUrlForEntry(const std::string& entry_id) OVERRIDE; 133 const std::string& entry_id) OVERRIDE; 137 const std::string& entry_id) OVERRIDE [all...] |
dom_distiller_store.cc | 56 bool DomDistillerStore::GetEntryById(const std::string& entry_id, 58 return model_.GetEntryById(entry_id, entry); 70 if (model_.GetEntryById(entry.entry_id(), NULL)) { 71 DVLOG(1) << "Already have entry with id " << entry.entry_id() << "."; 98 if (!model_.GetEntryById(entry.entry_id(), NULL)) { 99 DVLOG(1) << "No entry with id " << entry.entry_id() << " found."; 113 DVLOG(1) << "Failed to update entry with id " << entry.entry_id() << "."; 128 if (!model_.GetEntryById(entry.entry_id(), NULL)) { 129 DVLOG(1) << "No entry with id " << entry.entry_id() << " found."; 228 article_update.entry_id = entry.entry_id() [all...] |
dom_distiller_model_unittest.cc | 26 EXPECT_TRUE(model.GetEntryById(entry1.entry_id(), &found_entry)); 30 EXPECT_TRUE(model.GetEntryById(entry2.entry_id(), &found_entry)); 104 EXPECT_TRUE(model.GetEntryById(entry1.entry_id(), &found_entry)); 108 EXPECT_TRUE(model.GetEntryById(entry2.entry_id(), &found_entry)); 122 EXPECT_TRUE(model.GetEntryById(entry1.entry_id(), &found_entry)); 126 EXPECT_TRUE(model.GetEntryById(entry2.entry_id(), &found_entry));
|
url_utils.h | 18 const std::string& entry_id);
|
dom_distiller_model.h | 22 // looked up by URL or by entry_id. 34 bool GetEntryById(const std::string& entry_id, ArticleEntry* entry) const; 69 bool GetKeyById(const std::string& entry_id, KeyType* key) const;
|
url_utils.cc | 27 const std::string& entry_id) { 29 return net::AppendOrReplaceQueryParameter(url, kEntryIdKey, entry_id);
|
distilled_content_store.cc | 38 ContentMap::const_iterator it = cache_.Get(entry.entry_id()); 66 cache_.Put(entry.entry_id(), proto); 76 url_to_id_[page.url()] = entry.entry_id();
|
dom_distiller_store_unittest.cc | 46 (*map)[e.entry_id()] = e; 82 ArticleEntry CreateEntry(std::string entry_id, std::string page_url1, 85 entry.set_entry_id(entry_id); 196 EntryMap::iterator expected_it = expected_entries.find(it->entry_id()); 199 << it->entry_id() << ">"; 203 << it->entry_id() << ">"; 457 update.entry_id = GetSampleEntry(0).entry_id(); 465 update.entry_id = GetSampleEntry(1).entry_id(); [all...] |
viewer.cc | 221 std::string entry_id = local 223 bool has_valid_entry_id = !entry_id.empty(); 224 entry_id = StringToUpperASCII(entry_id); 241 entry_id).Pass();
|
/external/chromium_org/chrome/browser/media_galleries/linux/ |
mtp_device_object_enumerator.cc | 48 bool MTPDeviceObjectEnumerator::GetEntryId(uint32* entry_id) const { 49 DCHECK(entry_id); 53 *entry_id = file_entries_[index_].item_id();
|
mtp_device_object_enumerator.h | 26 // If the current file entry is valid, returns true and fills in |entry_id| 27 // with the entry identifier else returns false and |entry_id| is not set. 28 bool GetEntryId(uint32* entry_id) const;
|
/external/chromium_org/chrome/browser/dom_distiller/ |
lazy_dom_distiller_service.cc | 48 bool LazyDomDistillerService::HasEntry(const std::string& entry_id) { 49 return instance()->HasEntry(entry_id); 53 const std::string& entry_id) { 54 return instance()->GetUrlForEntry(entry_id); 69 const std::string& entry_id) { 70 return instance()->RemoveEntry(entry_id); 76 const std::string& entry_id) { 77 return instance()->ViewEntry(delegate, distiller_page.Pass(), entry_id);
|
lazy_dom_distiller_service.h | 41 virtual bool HasEntry(const std::string& entry_id) OVERRIDE; 42 virtual std::string GetUrlForEntry(const std::string& entry_id) OVERRIDE; 45 const std::string& entry_id) OVERRIDE; 49 const std::string& entry_id) OVERRIDE;
|
/external/chromium_org/components/dom_distiller/webui/ |
dom_distiller_handler.cc | 91 std::string entry_id; local 92 args->GetString(0, &entry_id); 94 url_utils::GetDistillerViewUrlFromEntryId(article_scheme_, entry_id); 112 entry->SetString("entry_id", article.entry_id()); 114 ? article.entry_id()
|
/external/chromium_org/sync/syncable/ |
syncable_util.cc | 29 bool IsLegalNewParent(BaseTransaction* trans, const Id& entry_id, 31 if (entry_id.IsRoot()) 36 if (entry_id == ancestor_id)
|
/external/chromium_org/components/google/core/browser/ |
google_url_tracker_infobar_delegate.cc | 117 return (details.entry_id != contents_unique_id()) && 118 (details.entry_id != pending_id_);
|
/external/chromium_org/chrome/browser/extensions/api/reading_list_private/ |
reading_list_private_api.cc | 65 removed_entry.id = entry->entry_id(); 80 e->id = i->entry_id();
|