/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...] |