19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_MOCK_RESOURCE_CALLBACK_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_MOCK_RESOURCE_CALLBACK_H_
22 #include "base/logging.h"
27 namespace net_instaweb {
37 notify_(thread_system) {
42 virtual void Done(
bool lock_failure,
bool resource_ok) {
44 success_ = resource_ok;
49 bool success()
const {
return success_; }
50 bool done()
const {
return done_; }
Definition: resource.h:217
A way for one thread to wait for another.
Definition: worker_test_base.h:71
Definition: mock_resource_callback.h:30
Definition: thread_system.h:40