/external/chromium/chrome/browser/sync/glue/ |
typed_url_model_associator.cc | 39 LOG(ERROR) << "Could not get the typed_url entries."; 64 LOG(ERROR) << "Server did not create the top-level typed_url node. We " 83 const sync_pb::TypedUrlSpecifics& typed_url( 85 DCHECK_EQ(tag, typed_url.url()); 90 int difference = MergeUrls(typed_url, *ix, &visits, &new_url, 95 LOG(ERROR) << "Failed to edit typed_url sync node."; 119 LOG(ERROR) << "Failed to create typed_url sync node."; 139 const sync_pb::TypedUrlSpecifics& typed_url( 142 if (current_urls.find(typed_url.url()) == current_urls.end()) { 145 GURL(typed_url.url()) 443 sync_pb::TypedUrlSpecifics typed_url; local [all...] |
typed_url_change_processor.cc | 51 VLOG(1) << "Observed typed_url change."; 86 "Server did not create the top-level typed_url node. We " 115 "Failed to create typed_url sync node."); 178 sync_pb::TypedUrlSpecifics typed_url(update_node.GetTypedUrlSpecifics()); 179 typed_url.add_visit(visits.back().visit_time.ToInternalValue()); 180 update_node.SetTypedUrlSpecifics(typed_url); 208 DCHECK(changes[i].specifics.HasExtension(sync_pb::typed_url)) << 210 GURL url(changes[i].specifics.GetExtension(sync_pb::typed_url).url()); 226 const sync_pb::TypedUrlSpecifics& typed_url( 228 GURL url(typed_url.url()) [all...] |
typed_url_model_associator.h | 42 // * Algorithm to associate typed_url model and sync model. 87 // Returns the sync id for the given typed_url name, or sync_api::kInvalidId 88 // if the typed_url name is not associated to any sync id. 91 // Associates the given typed_url name with the given sync id. 115 static int MergeUrls(const sync_pb::TypedUrlSpecifics& typed_url,
|
typed_url_model_associator_unittest.cc | 42 sync_pb::TypedUrlSpecifics typed_url; local 43 typed_url.set_url(url); 44 typed_url.set_title(title); 45 typed_url.set_typed_count(typed_count); 46 typed_url.set_hidden(hidden); 47 typed_url.add_visit(last_visit); 48 return typed_url;
|
typed_url_data_type_controller.cc | 70 VLOG(1) << "Starting typed_url data controller."; 113 VLOG(1) << "Stopping typed_url data type controller."; 162 return "typed_url";
|
typed_url_data_type_controller.h | 38 // A class that manages the startup and shutdown of typed_url sync.
|
/external/chromium_org/chrome/browser/sync/glue/ |
typed_url_model_associator_unittest.cc | 50 sync_pb::TypedUrlSpecifics typed_url; local 51 typed_url.set_url(url); 52 typed_url.set_title(title); 53 typed_url.set_hidden(hidden); 54 typed_url.add_visits(last_visit); 55 typed_url.add_visit_transitions(content::PAGE_TRANSITION_TYPED); 56 return typed_url; 328 sync_pb::TypedUrlSpecifics typed_url; local 329 TypedUrlModelAssociator::WriteToTypedUrlSpecifics(url, visits, &typed_url); 331 EXPECT_EQ(2, typed_url.visits_size()) 350 sync_pb::TypedUrlSpecifics typed_url; local 375 sync_pb::TypedUrlSpecifics typed_url; local 394 sync_pb::TypedUrlSpecifics typed_url; local [all...] |
typed_url_model_associator.cc | 200 "Could not get the typed_url entries.", 226 "Server did not create the top-level typed_url node. We " 244 sync_pb::TypedUrlSpecifics typed_url( 246 DCHECK_EQ(tag, typed_url.url()); 257 MergeUrls(typed_url, *ix, &visits, &new_url, &added_visits); 264 "Failed to edit typed_url sync node.", 270 if (typed_url.visits_size() > 0) { 272 base::Time::FromInternalValue(typed_url.visits(0)); 278 // visit vector contains all the items in typed_url.visits. 303 "Failed to create typed_url sync node: " + tag 677 sync_pb::TypedUrlSpecifics typed_url; local [all...] |
typed_url_data_type_controller.h | 26 // A class that manages the startup and shutdown of typed_url sync.
|
typed_url_change_processor.cc | 72 DVLOG(1) << "Observed typed_url change."; 116 "Server did not create the top-level typed_url node. We " 172 "Failed to create typed_url sync node."); 271 GURL url(it->specifics.typed_url().url()); 287 const sync_pb::TypedUrlSpecifics& typed_url( 289 DCHECK(typed_url.visits_size()); 291 if (model_associator_->ShouldIgnoreUrl(GURL(typed_url.url()))) 295 model_associator_->FilterExpiredVisits(typed_url);
|
typed_url_change_processor.h | 92 // new one for the passed |typed_url| if one does not already exist. Returns 94 bool CreateOrUpdateSyncNode(history::URLRow typed_url,
|
typed_url_model_associator.h | 43 // * Algorithm to associate typed_url model and sync model. 95 void UpdateFromSyncDB(const sync_pb::TypedUrlSpecifics& typed_url, 117 // Merges the URL information in |typed_url| with the URL information from the 127 static MergeResult MergeUrls(const sync_pb::TypedUrlSpecifics& typed_url,
|
/external/chromium/chrome/browser/sync/protocol/ |
typed_url_specifics.proto | 19 // Properties of typed_url sync objects. 29 optional TypedUrlSpecifics typed_url = 40781;
|
proto_value_conversions_unittest.cc | 151 SET_EXTENSION(typed_url);
|
/external/chromium_org/chrome/browser/history/ |
typed_url_syncable_service.cc | 309 sync_pb::TypedUrlSpecifics* typed_url = entity_specifics.mutable_typed_url(); local 312 typed_url->set_url(row.url().spec()); 314 WriteToTypedUrlSpecifics(row, visits, typed_url); 326 sync_pb::TypedUrlSpecifics* typed_url) { 333 typed_url->set_url(url.url().spec()); 334 typed_url->set_title(UTF16ToUTF8(url.title())); 335 typed_url->set_hidden(url.hidden()); 391 typed_url->add_visits(visit->visit_time.ToInternalValue()); 392 typed_url->add_visit_transitions(visit->transition); 396 if (typed_url->visits_size() == 0) [all...] |
typed_url_syncable_service.h | 92 // new one for the passed |typed_url| if one does not already exist. Returns 94 bool CreateOrUpdateSyncNode(URLRow typed_url,
|
typed_url_syncable_service_unittest.cc | 317 change_list[0].sync_data().GetSpecifics().typed_url(); 365 change_list[0].sync_data().GetSpecifics().typed_url(); 447 change_list[0].sync_data().GetSpecifics().typed_url(); 518 change_list[i].sync_data().GetSpecifics().typed_url(); 608 change_list[0].sync_data().GetSpecifics().typed_url();
|
/external/chromium_org/chrome/browser/sync/ |
profile_sync_service_model_type_selection_android.h | 19 DEFINE_MODEL_TYPE_SELECTION(TYPED_URL, 1<<4)
|
profile_sync_service_typed_url_unittest.cc | 266 const sync_pb::TypedUrlSpecifics& typed_url( 268 history::URLRow new_url(GURL(typed_url.url())); 270 new_url.set_title(UTF8ToUTF16(typed_url.title())); 271 DCHECK(typed_url.visits_size()); 272 DCHECK_EQ(typed_url.visits_size(), typed_url.visit_transitions_size()); 274 typed_url.visits(typed_url.visits_size() - 1))); 275 new_url.set_hidden(typed_url.hidden()); [all...] |
/external/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/base/ |
ModelType.java | 51 * A typed_url folder or a typed_url object. 53 TYPED_URL("TYPED_URL"),
|
/external/chromium/chrome/browser/sync/ |
profile_sync_service_typed_url_unittest.cc | 226 const sync_pb::TypedUrlSpecifics& typed_url( 228 history::URLRow new_url(GURL(typed_url.url())); 230 new_url.set_title(UTF8ToUTF16(typed_url.title())); 231 new_url.set_typed_count(typed_url.typed_count()); 232 DCHECK(typed_url.visit_size()); 233 new_url.set_visit_count(typed_url.visit_size()); 235 typed_url.visit(typed_url.visit_size() - 1))); 236 new_url.set_hidden(typed_url.hidden());
|
/external/chromium_org/sync/protocol/ |
typed_url_specifics.proto | 17 // Properties of typed_url sync objects - fields correspond to similarly named
|
/external/chromium/chrome/browser/sync/syncable/ |
model_type.h | 62 // A typed_url folder or a typed_url object.
|
model_type.cc | 46 specifics->MutableExtension(sync_pb::typed_url); 169 if (specifics.HasExtension(sync_pb::typed_url)) 411 const char kTypedUrlNotificationType[] = "TYPED_URL";
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/ |
ProfileSyncService.java | 370 if ((modelTypeSelection & ModelTypeSelection.TYPED_URL) != 0) { 371 syncTypes.add(ModelType.TYPED_URL); 417 if (syncEverything || enabledTypes.contains(ModelType.TYPED_URL)) { 418 modelTypeSelection |= ModelTypeSelection.TYPED_URL;
|