/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_observer.h | 25 std::string entry_id; member in struct:dom_distiller::DomDistillerObserver::ArticleUpdate
|
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
|
url_utils.cc | 25 const std::string& entry_id) { 27 return net::AppendOrReplaceQueryParameter(url, kEntryIdKey, entry_id);
|
url_utils.h | 18 const std::string& entry_id);
|
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));
|
dom_distiller_service.h | 61 virtual scoped_ptr<ArticleEntry> RemoveEntry(const std::string& entry_id) = 0; 64 // with |entry_id| exists. The ViewerHandle should be destroyed before the 70 // distillation task in progress for the given |entry_id|. 74 const std::string& entry_id) = 0; 116 const std::string& entry_id) OVERRIDE; 120 const std::string& entry_id) OVERRIDE;
|
dom_distiller_service.cc | 86 return entry.entry_id(); 113 const std::string& entry_id) { 115 entry->set_entry_id(entry_id); 121 if (!store_->GetEntryById(entry_id, entry.get())) { 134 const std::string& entry_id) { 136 if (!store_->GetEntryById(entry_id, &entry)) { 184 const std::string& entry_id = entry.entry_id(); local 186 if ((*it)->HasEntryId(entry_id)) {
|
dom_distiller_service_unittest.cc | 120 std::string entry_id("id0"); 122 entry.set_entry_id(entry_id); 129 &viewer_delegate, service_->CreateDefaultDistillerPage(), entry_id); 248 std::string entry_id = local 260 EXPECT_EQ(entry.entry_id(), entry_id); 262 service_->RemoveEntry(entry_id); 279 std::string entry_id = local 284 service_->RemoveEntry(entry_id); 301 std::string entry_id = service_->AddToList local 341 const std::string entry_id = local 377 const std::string entry_id = local 409 std::string entry_id = service_->AddToList( local [all...] |
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;
|
viewer.cc | 146 std::string entry_id = local 148 bool has_valid_entry_id = !entry_id.empty(); 149 entry_id = StringToUpperASCII(entry_id); 166 entry_id).Pass();
|
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...] |
task_tracker.cc | 94 const std::string& TaskTracker::GetEntryId() const { return entry_.entry_id(); } 96 bool TaskTracker::HasEntryId(const std::string& entry_id) const { 97 return entry_.entry_id() == entry_id;
|
/external/chromium_org/chrome/browser/media_galleries/linux/ |
mtp_device_object_enumerator.cc | 48 bool MTPDeviceObjectEnumerator::GetEntryId(uint32_t* 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_t* entry_id) const;
|
/external/chromium_org/chrome/browser/dom_distiller/ |
lazy_dom_distiller_service.cc | 59 const std::string& entry_id) { 60 return instance()->RemoveEntry(entry_id); 66 const std::string& entry_id) { 67 return instance()->ViewEntry(delegate, distiller_page.Pass(), entry_id);
|
lazy_dom_distiller_service.h | 43 const std::string& entry_id) OVERRIDE; 47 const std::string& entry_id) OVERRIDE;
|
dom_distiller_viewer_source_browsertest.cc | 61 (*map)[e.entry_id()] = e; 64 ArticleEntry CreateEntry(std::string entry_id, std::string page_url) { 66 entry.set_entry_id(entry_id); 146 chrome::kDomDistillerScheme, entry.entry_id());
|
/external/chromium_org/components/dom_distiller/webui/ |
dom_distiller_handler.cc | 90 std::string entry_id; local 91 args->GetString(0, &entry_id); 93 url_utils::GetDistillerViewUrlFromEntryId(article_scheme_, entry_id); 111 entry->SetString("entry_id", article.entry_id()); 113 ? 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/chrome/browser/extensions/api/reading_list_private/ |
reading_list_private_api.cc | 60 removed_entry.id = entry->entry_id(); 75 e->id = i->entry_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_);
|