Ensure delayed background optimize calls are actually cancelled.

When delayed background optimization was added, the shown call
did not properly cancel the outstanding disable call since it
didn't call the full background state update function.

BUG=752726
TEST=new unittest

Change-Id: Ic1b7f4a49ebaf3192c6de0fcd67f35414ed70ed8
Reviewed-on: https://chromium-review.googlesource.com/619615
Reviewed-by: Dan Sanders <sandersd@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#495410}
2 files changed