Lines Matching +full:security +full:- +full:events
2 // Use of this source code is governed by a BSD-style license that can be
7 #include <Security/Security.h>
25 // Helper that observes events from the Keychain and forwards them to the
29 // Creates a new Notifier that will forward Keychain events to |cert_db|.
30 // |message_loop| must refer to a thread with an associated CFRunLoop - a
31 // TYPE_UI thread. Events will be dispatched from this message loop.
37 DCHECK(task_runner_->BelongsToCurrentThread()); in Notifier()
38 task_runner_->PostTask( in Notifier()
46 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
53 if (registered_ && task_runner_->RunsTasksInCurrentSequence()) in ~Notifier()
61 if (!task_runner_->DeleteSoon(FROM_HERE, this)) { in Shutdown()
63 // the object, since no further events will or can be delivered by in Shutdown()
73 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
106 if (info->version > SEC_KEYCHAIN_SETTINGS_VERS1) { in KeychainCallback()
111 if (info->pid == base::GetCurrentProcId()) { in KeychainCallback()
112 // Ignore events generated by the current process, as the assumption is in KeychainCallback()
113 // that they have already been handled. This may miss events that in KeychainCallback()
116 // events rather than sending too many events. in KeychainCallback()
123 that->cert_db_->NotifyObserversCertDBChanged(); in KeychainCallback()
142 notifier_->Shutdown(); in ReleaseNotifier()