Lines Matching refs:MockCallback
7 $$ MAX_ARITY controls the number of arguments that MockCallback supports.
23 // base::MockCallback<FooCallback> callback;
44 class MockCallback;
52 class MockCallback<Callback<$run_type>> {
54 MockCallback() = default;
58 return Bind(&MockCallback::Run, Unretained(this));
62 DISALLOW_COPY_AND_ASSIGN(MockCallback);
66 class MockCallback<OnceCallback<$run_type>> {
68 MockCallback() = default;
72 return BindOnce(&MockCallback::Run, Unretained(this));
76 DISALLOW_COPY_AND_ASSIGN(MockCallback);