Lines Matching refs:Callback
126 // This callback for NSS forwards all requests to a caller-specified
240 const base::Callback<void(ScopedPK11Slot)>& callback) {
243 if (!callback.is_null())
244 tpm_ready_callback_list_.push_back(callback);
275 typedef std::vector<base::Callback<void(ScopedPK11Slot)> >
356 const base::Callback<void(bool)>& callback) {
364 base::Bind(callback, false));
373 base::Bind(callback, true));
389 callback,
396 base::Bind(callback, false));
425 const base::Callback<void(bool)>& callback,
443 callback.Run(!!tpm_slot_);
456 bool IsTPMTokenReady(const base::Closure& callback) {
457 if (!callback.is_null()) {
458 // Cannot DCHECK in the general case yet, but since the callback is
471 if (!callback.is_null())
472 tpm_ready_callback_list_.push_back(callback);
598 const base::Callback<void(ScopedPK11Slot)>& callback) {
603 if (!callback.is_null()) {
605 FROM_HERE, base::Bind(callback, base::Passed(ScopedPK11Slot())));
612 return chromeos_user_map_[username_hash]->GetPrivateSlot(callback);
651 const base::Callback<void(ScopedPK11Slot)>& callback) {
652 callback.Run(ScopedPK11Slot(PK11_ReferenceSlot(tpm_slot_.get())));
656 const base::Callback<void(ScopedPK11Slot)>& callback) {
664 if (!callback.is_null()) {
668 callback);
949 const base::Callback<void(ScopedPK11Slot)>& callback) {
950 return g_nss_singleton.Get().GetSystemNSSKeySlot(callback);
965 bool IsTPMTokenReady(const base::Closure& callback) {
966 return g_nss_singleton.Get().IsTPMTokenReady(callback);
971 const base::Callback<void(bool)>& callback) {
973 callback);
1009 const base::Callback<void(ScopedPK11Slot)>& callback) {
1011 callback);