Searched defs:entry_id (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/components/dom_distiller/core/
H A Ddom_distiller_observer.h25 std::string entry_id; member in struct:dom_distiller::DomDistillerObserver::ArticleUpdate
H A Ddom_distiller_service_android.cc36 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));
H A Durl_utils.cc27 const std::string& entry_id) {
29 return net::AppendOrReplaceQueryParameter(url, kEntryIdKey, entry_id);
26 GetDistillerViewUrlFromEntryId(const std::string& scheme, const std::string& entry_id) argument
H A Darticle_entry.cc60 return specifics.entry_id();
65 const std::string& entry_id = entry.entry_id(); local
66 return syncer::SyncData::CreateLocalData(entry_id, entry_id, specifics);
H A Ddistilled_content_store_unittest.cc17 ArticleEntry CreateEntry(std::string entry_id, argument
22 entry.set_entry_id(entry_id);
H A Ddom_distiller_model.cc29 bool DomDistillerModel::GetEntryById(const std::string& entry_id, argument
32 if (!GetKeyById(entry_id, &key)) {
49 bool DomDistillerModel::GetKeyById(const std::string& entry_id, argument
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...]
H A Ddom_distiller_service.cc89 return entry.entry_id();
111 bool DomDistillerService::HasEntry(const std::string& entry_id) { argument
112 return store_->GetEntryById(entry_id, NULL);
115 std::string DomDistillerService::GetUrlForEntry(const std::string& entry_id) { argument
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,
127 RemoveEntry( const std::string& entry_id) argument
146 ViewEntry( ViewRequestDelegate* delegate, scoped_ptr<DistillerPage> distiller_page, const std::string& entry_id) argument
199 const std::string& entry_id = entry.entry_id(); local
[all...]
H A Ddom_distiller_service_unittest.cc122 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 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...]
H A Ddom_distiller_store.cc56 bool DomDistillerStore::GetEntryById(const std::string& entry_id, argument
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
[all...]
H A Ddom_distiller_store_unittest.cc46 (*map)[e.entry_id()] = e;
82 ArticleEntry CreateEntry(std::string entry_id, std::string page_url1, argument
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...]
H A Dviewer.cc221 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/components/dom_distiller/webui/
H A Ddom_distiller_handler.cc91 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/components/infobars/core/
H A Dinfobar_delegate.h60 int entry_id; member in struct:infobars::InfoBarDelegate::NavigationDetails
/external/chromium_org/sync/syncable/
H A Dsyncable_util.cc29 bool IsLegalNewParent(BaseTransaction* trans, const Id& entry_id, argument
31 if (entry_id.IsRoot())
36 if (entry_id == ancestor_id)
/external/chromium_org/chrome/browser/dom_distiller/
H A Ddom_distiller_viewer_source_browsertest.cc65 (*map)[e.entry_id()] = e;
68 ArticleEntry CreateEntry(std::string entry_id, std::string page_url) { argument
70 entry.set_entry_id(entry_id);
154 kDomDistillerScheme, entry.entry_id());
H A Dlazy_dom_distiller_service.cc48 bool LazyDomDistillerService::HasEntry(const std::string& entry_id) { argument
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);
52 GetUrlForEntry( const std::string& entry_id) argument
68 RemoveEntry( const std::string& entry_id) argument
73 ViewEntry( ViewRequestDelegate* delegate, scoped_ptr<DistillerPage> distiller_page, const std::string& entry_id) argument
/external/chromium_org/net/disk_cache/blockfile/
H A Dindex_table_v3_unittest.cc579 int entry_id = 0; local
593 for (int i = 0; i < 250; i++, entry_id++) {
594 SCOPED_TRACE(entry_id);
595 uint32 hash = entry_id * i * 321 + entry_id * 13;
596 disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, entry_id * 17 + 1);
/external/chromium_org/third_party/freetype/src/base/
H A Dftrfork.c698 FT_UInt32 entry_id, entry_offset, entry_length = 0; local
728 if ( FT_READ_LONG( entry_id ) )
730 if ( entry_id == resource_fork_entry_id )
/external/chromium_org/v8/src/arm64/
H A Ddeoptimizer-arm64.cc312 Register entry_id = temps.AcquireX(); local
328 __ movz(entry_id, i);
334 __ Push(entry_id);
/external/freetype/src/base/
H A Dftrfork.c716 FT_UInt32 entry_id, entry_offset, entry_length = 0; local
746 if ( FT_READ_LONG( entry_id ) )
748 if ( entry_id == resource_fork_entry_id )
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftrfork.c698 FT_UInt32 entry_id, entry_offset, entry_length = 0; local
728 if ( FT_READ_LONG( entry_id ) )
730 if ( entry_id == resource_fork_entry_id )
/external/chromium_org/chrome/browser/extensions/api/file_system/
H A Dfile_system_api.cc854 std::string entry_id; local
855 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &entry_id));
858 if (!saved_files_service->IsRegistered(extension_->id(), entry_id)) {
878 entry_id));
882 saved_files_service->EnqueueFileEntry(extension_->id(), entry_id);
888 const std::string& entry_id) {
891 extension_->id(), entry_id, path_, is_directory_);
892 saved_files_service->EnqueueFileEntry(extension_->id(), entry_id);
901 std::string entry_id; local
902 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &entry_id));
887 RetainFileEntry( const std::string& entry_id) argument
909 std::string entry_id; local
[all...]
/external/chromium_org/sync/test/engine/
H A Dmock_connection_manager.cc449 const string& entry_id) {
451 GetMutableLastUpdate()->set_originator_client_item_id(entry_id);
447 SetLastUpdateOriginatorFields( const string& client_id, const string& entry_id) argument
/external/chromium_org/chrome/browser/sessions/
H A Dpersistent_tab_restore_service.cc170 SessionID::id_type entry_id);
515 SessionID::id_type entry_id) {
516 RestoredEntryPayload payload = entry_id;
514 CreateRestoredEntryCommand( SessionID::id_type entry_id) argument
/external/chromium_org/content/browser/devtools/
H A Drenderer_overrides_handler.cc498 int entry_id = 0; local
499 if (!params || !params->GetInteger(param, &entry_id)) {
510 if (controller.GetEntryAtIndex(i)->GetUniqueID() == entry_id) {

Completed in 434 milliseconds

12