/external/chromium/chrome/browser/sync/glue/ |
extension_util.cc | 51 const sync_pb::ExtensionSpecifics& specifics) { 54 ss << "id: " << specifics.id() << ", "; 55 ss << "version: " << specifics.version() << ", "; 56 ss << "update_url: " << specifics.update_url() << ", "; 57 ss << "enabled: " << specifics.enabled() << ", "; 58 ss << "incognito_enabled: " << specifics.incognito_enabled() << ", "; 59 ss << "name: " << specifics.name(); 65 const sync_pb::ExtensionSpecifics& specifics) { 66 if (!Extension::IdIsValid(specifics.id())) { 71 Version::GetVersionFromString(specifics.version())) [all...] |
extension_util.h | 31 const sync_pb::ExtensionSpecifics& specifics); 33 // Returns whether or not the values of the given specifics are valid, 36 const sync_pb::ExtensionSpecifics& specifics); 38 // Equivalent to DCHECK(IsExtensionSpecificsValid(specifics)) << 39 // ExtensionSpecificsToString(specifics); 41 const sync_pb::ExtensionSpecifics& specifics); 49 // ExtensionSpecifics object. |specifics| does not have to be valid 50 // and indeed, IsExtensionSpecificsValid(specifics) -> 51 // !IsExtensionSpecificsUnset(specifics). 53 const sync_pb::ExtensionSpecifics& specifics); [all...] |
extension_util_unittest.cc | 160 sync_pb::ExtensionSpecifics specifics; local 161 EXPECT_TRUE(IsExtensionSpecificsUnset(specifics)); 165 sync_pb::ExtensionSpecifics specifics; local 166 specifics.set_id("a"); 167 EXPECT_FALSE(IsExtensionSpecificsUnset(specifics)); 171 sync_pb::ExtensionSpecifics specifics; local 172 specifics.set_version("a"); 173 EXPECT_FALSE(IsExtensionSpecificsUnset(specifics)); 177 sync_pb::ExtensionSpecifics specifics; local 178 specifics.set_update_url("a") 183 sync_pb::ExtensionSpecifics specifics; local 189 sync_pb::ExtensionSpecifics specifics; local 195 sync_pb::ExtensionSpecifics specifics; local 202 sync_pb::ExtensionSpecifics specifics; local 275 sync_pb::ExtensionSpecifics specifics; local 301 sync_pb::ExtensionSpecifics specifics; local 411 sync_pb::ExtensionSpecifics specifics; local 432 sync_pb::ExtensionSpecifics specifics; local [all...] |
session_model_associator.cc | 112 sync_pb::SessionSpecifics specifics; local 113 specifics.set_session_tag(GetCurrentMachineTag()); 114 sync_pb::SessionHeader* header_s = specifics.mutable_header(); 168 header_node.SetSessionSpecifics(specifics); 478 const sync_pb::SessionSpecifics& specifics = local 481 if (specifics.session_tag() != GetCurrentMachineTag()) { 482 if (!AssociateForeignSpecifics(specifics, modification_time)) { 487 if (specifics.has_header()) { 493 DCHECK(specifics.has_tab()); 512 const sync_pb::SessionSpecifics& specifics, 865 sync_pb::SessionSpecifics specifics; local 966 sync_pb::SessionSpecifics specifics; local [all...] |
autofill_profile_change_processor.cc | 76 DCHECK(changes[i].specifics.HasExtension( 79 const sync_pb::AutofillProfileSpecifics& specifics = local 80 changes[i].specifics.GetExtension(sync_pb::autofill_profile); 84 specifics)); 322 sync_pb::AutofillProfileSpecifics specifics; local 330 specifics.set_guid(profile.guid()); 331 specifics.set_name_first(UTF16ToUTF8(profile.GetInfo(NAME_FIRST))); 332 specifics.set_name_middle(UTF16ToUTF8(profile.GetInfo(NAME_MIDDLE))); 333 specifics.set_name_last(UTF16ToUTF8(profile.GetInfo(NAME_LAST))); 334 specifics.set_address_home_line1 [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_sync_data.cc | 54 sync_pb::EntitySpecifics specifics; local 55 PopulateExtensionSpecifics(specifics.mutable_extension()); 57 return syncer::SyncData::CreateLocalData(id_, name_, specifics); 66 sync_pb::ExtensionSpecifics* specifics) const { 68 specifics->set_id(id_); 69 specifics->set_update_url(update_url_.spec()); 70 specifics->set_version(version_.GetString()); 71 specifics->set_enabled(enabled_); 72 specifics->set_incognito_enabled(incognito_enabled_); 73 specifics->set_name(name_) [all...] |
app_sync_data.cc | 39 sync_pb::EntitySpecifics specifics; local 40 PopulateAppSpecifics(specifics.mutable_app()); 44 specifics); 52 void AppSyncData::PopulateAppSpecifics(sync_pb::AppSpecifics* specifics) const { 53 DCHECK(specifics); 56 specifics->set_app_launch_ordinal(app_launch_ordinal_.ToInternalValue()); 58 specifics->set_page_ordinal(page_ordinal_.ToInternalValue()); 61 specifics->mutable_extension()); 65 const sync_pb::AppSpecifics& specifics) { 66 extension_sync_data_.PopulateFromExtensionSpecifics(specifics.extension()) [all...] |
/external/chromium_org/sync/internal_api/public/ |
write_node.h | 114 // Set the bookmark specifics (url and favicon). 116 void SetBookmarkSpecifics(const sync_pb::BookmarkSpecifics& specifics); 118 // Generic set specifics method. Will extract the model type from |specifics|. 119 void SetEntitySpecifics(const sync_pb::EntitySpecifics& specifics); 128 // Set the app specifics (id, update url, enabled state, etc). 130 void SetAppSpecifics(const sync_pb::AppSpecifics& specifics); 132 // Set the autofill specifics (name and value). 134 void SetAutofillSpecifics(const sync_pb::AutofillSpecifics& specifics); 137 const sync_pb::AutofillProfileSpecifics& specifics); [all...] |
delete_journal.h | 21 sync_pb::EntitySpecifics specifics; member in struct:syncer::BookmarkDeleteJournal
|
/external/chromium_org/components/dom_distiller/core/ |
article_entry.cc | 34 ArticleEntry EntryFromSpecifics(const EntitySpecifics& specifics) { 35 DCHECK(specifics.has_article()); 36 const ArticleSpecifics& article_specifics = specifics.article(); 44 EntitySpecifics specifics; local 45 *specifics.mutable_article() = entry; 46 return specifics; 58 const ArticleSpecifics& specifics = entity.article(); local 59 DCHECK(specifics.has_entry_id()); 60 return specifics.entry_id(); 64 EntitySpecifics specifics = SpecificsFromEntry(entry) local [all...] |
/external/chromium_org/chrome/browser/extensions/api/storage/ |
setting_sync_data.cc | 30 sync_pb::EntitySpecifics specifics = sync_data.GetSpecifics(); local 32 DCHECK_NE(specifics.has_extension_setting(), 33 specifics.has_app_setting()); 34 if (specifics.has_extension_setting()) { 37 specifics.extension_setting()); 38 } else if (specifics.has_app_setting()) { 41 specifics.app_setting().extension_setting()); 47 const sync_pb::ExtensionSettingSpecifics& specifics) { 50 base::JSONReader::Read(specifics.value())); 52 LOG(WARNING) << "Specifics for " << specifics.extension_id() << "/" < [all...] |
settings_sync_util.cc | 23 sync_pb::ExtensionSettingSpecifics* specifics) { 24 specifics->set_extension_id(extension_id); 25 specifics->set_key(key); 29 specifics->set_value(value_as_json); 37 sync_pb::AppSettingSpecifics* specifics) { 39 extension_id, key, value, specifics->mutable_extension_setting()); 49 sync_pb::EntitySpecifics specifics; local 56 specifics.mutable_extension_setting()); 64 specifics.mutable_app_setting()); 72 extension_id + "/" + key, key, specifics); [all...] |
/external/chromium_org/sync/syncable/ |
nigori_util_unittest.cc | 21 sync_pb::EntitySpecifics specifics; local 22 EXPECT_FALSE(SpecificsNeedsEncryption(ModelTypeSet(), specifics)); 23 EXPECT_FALSE(SpecificsNeedsEncryption(encrypted_types, specifics)); 25 AddDefaultFieldValue(PREFERENCES, &specifics); 26 EXPECT_FALSE(SpecificsNeedsEncryption(encrypted_types, specifics));
|
model_type.cc | 29 sync_pb::EntitySpecifics* specifics) { 36 specifics->mutable_bookmark(); 39 specifics->mutable_password(); 42 specifics->mutable_preference(); 45 specifics->mutable_autofill(); 48 specifics->mutable_autofill_profile(); 51 specifics->mutable_theme(); 54 specifics->mutable_typed_url(); 57 specifics->mutable_extension(); 60 specifics->mutable_nigori() [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
synced_device_tracker.cc | 69 const sync_pb::DeviceInfoSpecifics& specifics = node.GetDeviceInfoSpecifics(); local 71 new DeviceInfo(specifics.cache_guid(), 72 specifics.client_name(), 73 specifics.chrome_version(), 74 specifics.sync_user_agent(), 75 specifics.device_type())); 88 const sync_pb::DeviceInfoSpecifics& specifics = node.GetDeviceInfoSpecifics(); local 90 new DeviceInfo(specifics.cache_guid(), 91 specifics.client_name(), 92 specifics.chrome_version() 124 const sync_pb::DeviceInfoSpecifics& specifics = local 162 sync_pb::DeviceInfoSpecifics specifics; local [all...] |
synced_device_tracker_unittest.cc | 27 sync_pb::DeviceInfoSpecifics* specifics) { 28 specifics->set_cache_guid(device_info.guid()); 29 specifics->set_client_name(device_info.client_name()); 30 specifics->set_chrome_version(device_info.chrome_version()); 31 specifics->set_sync_user_agent(device_info.sync_user_agent()); 32 specifics->set_device_type(device_info.device_type()); 72 sync_pb::DeviceInfoSpecifics specifics; local 73 ConvertDeviceInfoSpecifics(device_info, &specifics); 74 synced_device_tracker_->WriteDeviceInfo(specifics, device_info.guid());
|
/external/chromium_org/sync/internal_api/ |
delete_journal.cc | 26 const sync_pb::EntitySpecifics& specifics = (*i)->ref( local 27 syncer::syncable::SPECIFICS); 28 if (!specifics.has_encrypted()) { 29 delete_journal_list->back().specifics = specifics; 32 specifics.encrypted()); 40 delete_journal_list->back().specifics = unencrypted_data;
|
syncapi_internal.h | 25 const sync_pb::EntitySpecifics& specifics,
|
/external/chromium_org/sync/internal_api/public/test/ |
test_entry_factory.h | 29 const sync_pb::EntitySpecifics& specifics, 34 const sync_pb::EntitySpecifics& specifics, 39 const sync_pb::EntitySpecifics& specifics, 70 // the server specifics with |specifics|, sets 74 const sync_pb::EntitySpecifics specifics); 77 // the local specifics with |specifics|, sets 81 const sync_pb::EntitySpecifics specifics); 84 // the server specifics into |specifics| and returns true. Else, return false [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
model_type.cc | 25 sync_pb::EntitySpecifics* specifics) { 28 specifics->MutableExtension(sync_pb::bookmark); 31 specifics->MutableExtension(sync_pb::password); 34 specifics->MutableExtension(sync_pb::preference); 37 specifics->MutableExtension(sync_pb::autofill); 40 specifics->MutableExtension(sync_pb::autofill_profile); 43 specifics->MutableExtension(sync_pb::theme); 46 specifics->MutableExtension(sync_pb::typed_url); 49 specifics->MutableExtension(sync_pb::extension); 52 specifics->MutableExtension(sync_pb::nigori) [all...] |
/external/chromium_org/sync/api/ |
sync_data.cc | 63 sync_pb::EntitySpecifics specifics; local 64 AddDefaultFieldValue(datatype, &specifics); 65 return CreateLocalData(sync_tag, std::string(), specifics); 72 const sync_pb::EntitySpecifics& specifics) { 76 entity.mutable_specifics()->CopyFrom(specifics); 82 int64 id, const sync_pb::EntitySpecifics& specifics, 86 entity.mutable_specifics()->CopyFrom(specifics); 95 return immutable_entity_.Get().specifics(); 132 std::string specifics; local 137 &specifics); [all...] |
/external/chromium/chrome/browser/sync/protocol/ |
proto_value_conversions_unittest.cc | 34 const T& specifics(T::default_instance()); 35 scoped_ptr<DictionaryValue> value(specifics_to_value(specifics)); 76 sync_pb::PasswordSpecificsData specifics; local 77 specifics.set_password_value("secret"); 78 scoped_ptr<DictionaryValue> value(PasswordSpecificsDataToValue(specifics)); 136 sync_pb::EntitySpecifics specifics; local 139 #define SET_EXTENSION(key) (void)specifics.MutableExtension(sync_pb::key) 155 scoped_ptr<DictionaryValue> value(EntitySpecificsToValue(specifics));
|
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_syncable_service.cc | 27 void UpdateSyncItemFromSync(const sync_pb::AppListSpecifics& specifics, 29 DCHECK_EQ(item->item_id, specifics.item_id()); 30 item->item_type = specifics.item_type(); 31 item->item_name = specifics.item_name(); 32 item->parent_id = specifics.parent_id(); 33 if (!specifics.page_ordinal().empty()) 34 item->page_ordinal = syncer::StringOrdinal(specifics.page_ordinal()); 35 if (!specifics.item_ordinal().empty()) 36 item->item_ordinal = syncer::StringOrdinal(specifics.item_ordinal()); 53 sync_pb::AppListSpecifics* specifics) { 67 sync_pb::EntitySpecifics specifics; local [all...] |
/external/chromium_org/sync/protocol/ |
proto_value_conversions_unittest.cc | 46 const T& specifics(T::default_instance()); 47 scoped_ptr<base::DictionaryValue> value(specifics_to_value(specifics)); 86 sync_pb::PasswordSpecificsData specifics; local 87 specifics.set_password_value("secret"); 89 PasswordSpecificsDataToValue(specifics)); 105 sync_pb::AppNotificationSettings specifics; local 106 specifics.set_disabled(true); 107 specifics.set_oauth_client_id("some_id_value"); 108 scoped_ptr<base::DictionaryValue> value(AppSettingsToValue(specifics)); 137 sync_pb::BookmarkSpecifics specifics; local 256 sync_pb::EntitySpecifics specifics; local [all...] |
/external/chromium_org/chrome/browser/sync/sessions2/ |
sessions_sync_manager.cc | 108 sync_pb::EntitySpecifics specifics; local 109 sync_pb::SessionSpecifics* base_specifics = specifics.mutable_session(); 115 current_machine_tag(), current_session_name_, specifics); 141 sync_pb::SessionSpecifics specifics; local 142 specifics.set_session_tag(local_tag); 143 sync_pb::SessionHeader* header_s = specifics.mutable_header(); 234 // if the entity specifics are identical (i.e windows, client name did 237 entity.mutable_session()->CopyFrom(specifics); 291 sync_pb::EntitySpecifics specifics; local 292 LocalTabDelegateToSpecifics(*tab, specifics.mutable_session()) 494 const sync_pb::SessionSpecifics& specifics = data.GetSpecifics().session(); local 818 sync_pb::EntitySpecifics specifics; local [all...] |