Lines Matching refs:Details
43 const NotificationDetails& details) {
48 Details<ChromeCookieDetails>(details).ptr());
58 ChromeCookieDetails* details) {
61 dict->SetBoolean(keys::kRemovedKey, details->removed);
64 extension_cookies_helpers::CreateCookieValue(*details->cookie,
69 switch (details->cause) {
100 extension_cookies_helpers::GetURLFromCanonicalCookie(*details->cookie);
114 bool CookiesFunction::ParseUrl(const DictionaryValue* details, GURL* url,
116 DCHECK(details && url);
119 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kUrlKey, &url_string));
136 bool CookiesFunction::ParseStoreContext(const DictionaryValue* details,
139 DCHECK(details && (context || store_id));
141 if (details->HasKey(keys::kStoreIdKey)) {
142 // The store ID was explicitly specified in the details dictionary.
147 details->GetString(keys::kStoreIdKey, &store_id_value));
182 DictionaryValue* details;
183 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details));
184 DCHECK(details);
187 if (!ParseUrl(details, &url_, true))
191 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kNameKey, &name_));
194 if (!ParseStoreContext(details, &store_context, &store_id_))
307 DictionaryValue* details;
308 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details));
309 DCHECK(details);
312 if (!ParseUrl(details, &url_, true))
315 if (details->HasKey(keys::kNameKey))
316 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kNameKey, &name_));
317 if (details->HasKey(keys::kValueKey))
318 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kValueKey, &value_));
319 if (details->HasKey(keys::kDomainKey))
320 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kDomainKey, &domain_));
321 if (details->HasKey(keys::kPathKey))
322 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kPathKey, &path_));
324 if (details->HasKey(keys::kSecureKey)) {
326 details->GetBoolean(keys::kSecureKey, &secure_));
328 if (details->HasKey(keys::kHttpOnlyKey)) {
330 details->GetBoolean(keys::kHttpOnlyKey, &http_only_));
332 if (details->HasKey(keys::kExpirationDateKey)) {
334 EXTENSION_FUNCTION_VALIDATE(details->Get(keys::kExpirationDateKey,
353 if (!ParseStoreContext(details, &store_context, NULL))
414 DictionaryValue* details;
415 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(0, &details));
416 DCHECK(details);
419 if (!ParseUrl(details, &url_, true))
423 EXTENSION_FUNCTION_VALIDATE(details->GetString(keys::kNameKey, &name_));
426 if (!ParseStoreContext(details, &store_context, &store_id_))