Home
last modified time | relevance | path

Searched refs:optional_fields (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/device/nfc/
Dnfc_ndef_record.cc22 const FieldValueMap& optional_fields, in CheckFieldsAreValid() argument
31 field_iter = optional_fields.find(iter.key()); in CheckFieldsAreValid()
33 if (field_iter == optional_fields.end()) { in CheckFieldsAreValid()
66 FieldValueMap optional_fields; in HandleTypeText() local
67 optional_fields[NfcNdefRecord::kFieldEncoding] = base::Value::TYPE_STRING; in HandleTypeText()
68 optional_fields[NfcNdefRecord::kFieldLanguageCode] = base::Value::TYPE_STRING; in HandleTypeText()
69 if (!CheckFieldsAreValid(required_fields, optional_fields, data)) { in HandleTypeText()
82 FieldValueMap optional_fields; in HandleTypeSmartPoster() local
83 optional_fields[NfcNdefRecord::kFieldAction] = base::Value::TYPE_STRING; in HandleTypeSmartPoster()
84 optional_fields[NfcNdefRecord::kFieldMimeType] = base::Value::TYPE_STRING; in HandleTypeSmartPoster()
[all …]
/external/chromium_org/chrome/browser/extensions/api/notifications/
Dnotifications_api.cc259 message_center::RichNotificationData optional_fields; in CreateNotification() local
262 optional_fields.priority = *options->priority; in CreateNotification()
265 optional_fields.timestamp = base::Time::FromJsTime(*options->event_time); in CreateNotification()
277 optional_fields.buttons.push_back(info); in CreateNotification()
282 optional_fields.expanded_message = in CreateNotification()
287 optional_fields.context_message = UTF8ToUTF16(*options->context_message); in CreateNotification()
290 &optional_fields.image); in CreateNotification()
306 optional_fields.progress = *options->progress; in CreateNotification()
308 if (optional_fields.progress < 0 || optional_fields.progress > 100) { in CreateNotification()
320 optional_fields.items.push_back(item); in CreateNotification()
[all …]
/external/chromium_org/ui/message_center/
Dnotification.cc58 const RichNotificationData& optional_fields, in Notification() argument
68 optional_fields_(optional_fields), in Notification()
Dmessage_center_impl_unittest.cc53 RichNotificationData optional_fields; in CreateNotification() local
54 optional_fields.buttons.push_back(ButtonInfo(UTF8ToUTF16("foo"))); in CreateNotification()
55 optional_fields.buttons.push_back(ButtonInfo(UTF8ToUTF16("foo"))); in CreateNotification()
63 optional_fields, in CreateNotification()
Dnotification_list_unittest.cc35 const message_center::RichNotificationData& optional_fields) { in AddNotification() argument
38 MakeNotification(optional_fields, &new_id)); in AddNotification()
50 const message_center::RichNotificationData& optional_fields, in MakeNotification() argument
61 optional_fields, in MakeNotification()
Dnotification.h64 const RichNotificationData& optional_fields,
/external/chromium_org/ui/message_center/views/
Dmessage_popup_collection.cc506 const RichNotificationData& optional_fields = in OnNotificationUpdated() local
509 optional_fields.should_make_spoken_feedback_for_popup_updates; in OnNotificationUpdated()