Lines Matching refs:callback
104 TestCompletionCallback callback;
106 &text, &callback);
108 EXPECT_EQ(ERR_FILE_NOT_FOUND, callback.WaitForResult());
113 TestCompletionCallback callback;
115 &text, &callback);
117 EXPECT_EQ(OK, callback.WaitForResult());
133 TestCompletionCallback callback;
134 int result = pac_fetcher.Fetch(url, &text, &callback);
136 EXPECT_EQ(OK, callback.WaitForResult());
142 TestCompletionCallback callback;
143 int result = pac_fetcher.Fetch(url, &text, &callback);
145 EXPECT_EQ(OK, callback.WaitForResult());
151 TestCompletionCallback callback;
152 int result = pac_fetcher.Fetch(url, &text, &callback);
154 EXPECT_EQ(OK, callback.WaitForResult());
168 TestCompletionCallback callback;
169 int result = pac_fetcher.Fetch(url, &text, &callback);
171 EXPECT_EQ(ERR_PAC_STATUS_NOT_OK, callback.WaitForResult());
177 TestCompletionCallback callback;
178 int result = pac_fetcher.Fetch(url, &text, &callback);
180 EXPECT_EQ(ERR_PAC_STATUS_NOT_OK, callback.WaitForResult());
195 TestCompletionCallback callback;
196 int result = pac_fetcher.Fetch(url, &text, &callback);
198 EXPECT_EQ(OK, callback.WaitForResult());
212 TestCompletionCallback callback;
213 int result = pac_fetcher.Fetch(url, &text, &callback);
215 EXPECT_EQ(OK, callback.WaitForResult());
227 TestCompletionCallback callback;
228 int result = pac_fetcher.Fetch(url, &text, &callback);
230 EXPECT_EQ(ERR_CONNECTION_REFUSED, callback.WaitForResult());
254 TestCompletionCallback callback;
255 int result = pac_fetcher.Fetch(url, &text, &callback);
257 EXPECT_EQ(ERR_FILE_TOO_BIG, callback.WaitForResult());
267 TestCompletionCallback callback;
268 int result = pac_fetcher.Fetch(url, &text, &callback);
270 EXPECT_EQ(OK, callback.WaitForResult());
289 TestCompletionCallback callback;
290 int result = pac_fetcher.Fetch(url, &text, &callback);
292 EXPECT_EQ(ERR_TIMED_OUT, callback.WaitForResult());
302 TestCompletionCallback callback;
303 int result = pac_fetcher.Fetch(url, &text, &callback);
305 EXPECT_EQ(OK, callback.WaitForResult());
323 TestCompletionCallback callback;
324 int result = pac_fetcher.Fetch(url, &text, &callback);
326 EXPECT_EQ(OK, callback.WaitForResult());
335 TestCompletionCallback callback;
336 int result = pac_fetcher.Fetch(url, &text, &callback);
338 EXPECT_EQ(OK, callback.WaitForResult());
362 TestCompletionCallback callback;
363 int result = pac_fetcher.Fetch(url, &text, &callback);
375 TestCompletionCallback callback;
376 int result = pac_fetcher.Fetch(url, &text, &callback);