DescriptionFollow up cleanups for r222162.
Changes:
- ScopedRefNPObject is wrapped into scoped_ptr<> when passed as a callback between threads since ScopedRefNPObject's ref-counting is not thread-safe.
- Made HostNPScriptObject::DoGenerateKeyPair a static method to make bouncing between threads safe.
- Switched the completion callbacks passed to the daemon controller and pairing registry to use a weak pointer to HostNPScriptObject.
- Clarified threading semantic of DaemonController::Delegate.
BUG=156257, 173509
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222397
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|