/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...] |
autofill_profile_model_associator_unittest.cc | 100 sync_pb::EntitySpecifics specifics; local 103 specifics.MutableExtension(sync_pb::autofill_profile); 115 kernel.put(syncable::SPECIFICS, specifics); 181 sync_pb::EntitySpecifics specifics; local 184 specifics.MutableExtension(sync_pb::autofill_profile); 190 kernel.put(syncable::SPECIFICS, specifics);
|
extension_change_processor.cc | 105 sync_pb::ExtensionSpecifics specifics; local 118 specifics = (*traits_.extension_specifics_getter)(node); 123 change.specifics, &specifics)) { 125 error << "Could not get extension specifics from deleted node " 134 if (!GetExtensionSyncData(specifics, &sync_data)) { 137 std::string("Invalid server specifics: ") + 138 ExtensionSpecificsToString(specifics);
|
session_change_processor.cc | 183 const sync_pb::SessionSpecifics& specifics = node.GetSessionSpecifics(); local 185 specifics.session_tag()); 201 const sync_pb::SessionSpecifics& specifics( 203 if (specifics.session_tag() == 214 session_model_associator_->AssociateForeignSpecifics(specifics, mtime);
|
extension_sync.cc | 154 LOG(ERROR) << "Invalid extensions specifics for id " << id; 210 const sync_pb::ExtensionSpecifics& specifics = local 212 const std::string& id = specifics.id(); 215 (*traits.extension_specifics_setter)(specifics, &write_node); 227 (*traits.extension_specifics_setter)(specifics, &create_node); 310 LOG(ERROR) << "Invalid extensions specifics for id " << id
|
/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...] |
model_type.h | 86 sync_pb::EntitySpecifics* specifics); 91 // entity specifics. 97 ModelType GetModelTypeFromSpecifics(const sync_pb::EntitySpecifics& specifics);
|
nigori_util.cc | 30 const sync_pb::EntitySpecifics& specifics = entry.Get(SPECIFICS); local 32 specifics.GetExtension(sync_pb::nigori)); 86 const sync_pb::EntitySpecifics& entry_specifics = entry.Get(SPECIFICS); 104 entry.Put(SPECIFICS, new_specifics); 118 entry.Put(SPECIFICS, new_specifics); 136 const sync_pb::EntitySpecifics& entry_specifics = entry.Get(SPECIFICS); 184 const sync_pb::EntitySpecifics& specifics = child.Get(SPECIFICS); local 186 DCHECK_EQ(type, GetModelTypeFromSpecifics(specifics)); [all...] |
directory_backing_store_unittest.cc | 327 "server_bookmark_favicon blob, specifics blob, " 457 "specifics blob,server_specifics blob);" 1002 sync_pb::EntitySpecifics specifics; local [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));
|
proto_value_conversions.cc | 86 if (specifics.HasExtension(ns::field)) { \ 87 value->Set(#field, fn(specifics.GetExtension(ns::field))); \ 296 const sync_pb::EntitySpecifics& specifics) {
|
/external/chromium/chrome/browser/sync/engine/ |
apply_updates_command_unittest.cc | 75 const sync_pb::EntitySpecifics& specifics, 88 entry.Put(syncable::SERVER_SPECIFICS, specifics); 119 entry.Put(syncable::SPECIFICS, default_specifics); 232 sync_pb::EntitySpecifics specifics; local 237 specifics.MutableExtension(sync_pb::password)->mutable_encrypted()); 238 CreateUnappliedNewItem("item", specifics, false); 254 sync_pb::EntitySpecifics specifics; local 255 specifics.MutableExtension(sync_pb::password); 256 CreateUnappliedNewItem("item", specifics, false); 273 sync_pb::EntitySpecifics specifics; local 297 sync_pb::EntitySpecifics specifics; local 337 sync_pb::EntitySpecifics specifics; local 344 specifics, true); local 405 sync_pb::EntitySpecifics specifics; local 412 specifics, true); local 502 sync_pb::EntitySpecifics specifics; local 509 specifics, true); local [all...] |
change_reorder_buffer.h | 75 void SetSpecificsForId(int64 id, const sync_pb::EntitySpecifics& specifics) { 76 specifics_[id] = specifics;
|
syncapi.h | 279 // Returns the unencrypted specifics associated with |entry|. If |entry| was 282 // This method is invoked by the datatype specific Get<datatype>Specifics 359 // Set the bookmark specifics (url and favicon). 361 void SetBookmarkSpecifics(const sync_pb::BookmarkSpecifics& specifics); 369 // Set the app specifics (id, update url, enabled state, etc). 371 void SetAppSpecifics(const sync_pb::AppSpecifics& specifics); 373 // Set the autofill specifics (name and value). 375 void SetAutofillSpecifics(const sync_pb::AutofillSpecifics& specifics); 378 const sync_pb::AutofillProfileSpecifics& specifics); 380 // Set the nigori specifics 649 sync_pb::EntitySpecifics specifics; member in struct:sync_api::SyncManager::ChangeRecord [all...] |
syncapi.cc | 97 using syncable::SPECIFICS; 202 const sync_pb::EntitySpecifics& specifics, Cryptographer* crypto) { 203 if (!specifics.HasExtension(sync_pb::password)) 206 specifics.GetExtension(sync_pb::password); 219 const sync_pb::EntitySpecifics& specifics = local 220 entry->Get(syncable::SPECIFICS); 221 if (specifics.HasExtension(sync_pb::password)) { 224 specifics, GetTransaction()->GetCryptographer())); 232 if (!specifics.has_encrypted()) 236 specifics.encrypted() 251 const sync_pb::EntitySpecifics& specifics = entry->Get(SPECIFICS); local 750 sync_pb::EntitySpecifics specifics; local 1103 const sync_pb::EntitySpecifics& specifics = GetEntry()->Get(SPECIFICS); local [all...] |
/external/chromium/chrome/browser/sync/ |
abstract_profile_sync_service_test.cc | 35 using syncable::SPECIFICS; 91 sync_pb::EntitySpecifics specifics; local 92 syncable::AddDefaultExtensionValue(model_type, &specifics); 93 node.Put(SPECIFICS, specifics);
|
profile_sync_service_session_unittest.cc | 184 // Check that we can get the correct session specifics back from the node. 189 const sync_pb::SessionSpecifics& specifics(node.GetSessionSpecifics()); 190 ASSERT_EQ(machine_tag, specifics.session_tag()); 191 ASSERT_TRUE(specifics.has_header()); 192 const sync_pb::SessionHeader& header_s = specifics.header(); 260 // Fill an instance of session specifics with a foreign session's data. 284 // Update the server with the session specifics.
|
/frameworks/base/core/java/android/view/ |
Menu.java | 255 * for more * details on the <var>caller</var>, <var>specifics</var>, and 280 * @param specifics Specific items to place first as defined by 286 * that were generated for each of the <var>specifics</var> that were 296 ComponentName caller, Intent[] specifics,
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotesList.java | 205 Intent[] specifics = new Intent[1]; local 208 specifics[0] = new Intent(Intent.ACTION_EDIT, uri); 230 specifics, // These specific options must appear first. 231 intent, // These Intent objects map to the options in specifics. 233 items // The menu items generated from the specifics-to-
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenu.java | 71 ComponentName caller, Intent[] specifics, Intent intent, int flags, 75 pm.queryIntentActivityOptions(caller, specifics, intent, 0); 85 ri.specificIndex < 0 ? intent : specifics[ri.specificIndex]);
|
/external/chromium/net/tools/testserver/ |
chromiumsync.py | 97 entry_types = GetEntryTypesFromSpecifics(entry.specifics) 108 def GetEntryTypesFromSpecifics(specifics): 111 If the specifics have more than one recognized extension (as commonly 117 specifics: A EntitySpecifics protobuf message whose extensions to 121 recognized extension of the specifics message. 125 if specifics.HasExtension(extension)] 143 specifics = sync_pb2.EntitySpecifics() 146 specifics.Extensions[extension_handle].SetInParent() 147 return specifics 440 entry.specifics.CopyFrom(GetDefaultEntitySpecifics(spec.sync_type) [all...] |