[ServiceWorkerCache Cleanup] Move ::Match functions into class
commitd5fba4f879e679965b0184ad53bd58ebbdd230ae
authorjkarlin <jkarlin@chromium.org>
Wed, 12 Nov 2014 18:53:39 +0000 (12 10:53 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 12 Nov 2014 18:54:53 +0000 (12 18:54 +0000)
tree2f7e4473a1038ffe7caa8989d036576114bba857
parent1f2debb9557a0a9831921dddc20a2d073b7311a0
[ServiceWorkerCache Cleanup] Move ::Match functions into class

Move Match callbacks from unnamed namespace into the class like the
rest of the callbacks.  Since the class doesn't guarantee that
callbacks are called, little is gained from keeping them as unnamed
and this makes the class more consistent.

The only code changed in the moved functions is to add the namespace and weak ptr to the base::Bind calls.

Downstream of: https://codereview.chromium.org/704293003/

BUG=430884

Review URL: https://codereview.chromium.org/709113003

Cr-Commit-Position: refs/heads/master@{#303863}
content/browser/service_worker/service_worker_cache.cc
content/browser/service_worker/service_worker_cache.h