add detector asynchronous wait processing mechanism.
add detector asynchronous wait processing mechanism.

Review URL: http://codereview.appspot.com/4223042
liunian/compatibility-detector,liunian/compatibility-detector,liunian/compatibility-detector