• Home
  • Raw
  • Download

Lines Matching refs:details

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