| Index: chrome/browser/policy/cloud/test_request_interceptor.h
|
| diff --git a/chrome/browser/policy/cloud/test_request_interceptor.h b/chrome/browser/policy/cloud/test_request_interceptor.h
|
| index 17d47e50572c1aaaaa7b47efeba2fd8c4684fbd7..952a8bcd293a0521a63bfcf8e169432b53f03619 100644
|
| --- a/chrome/browser/policy/cloud/test_request_interceptor.h
|
| +++ b/chrome/browser/policy/cloud/test_request_interceptor.h
|
| @@ -60,6 +60,10 @@ class TestRequestInterceptor {
|
| // Returns a JobCallback that will fail with HTTP 400 Bad Request.
|
| static JobCallback BadRequestJob();
|
|
|
| + // Returns a JobCallback that will fail with the specified HTTP error (e.g.
|
| + // "404 Not Found").
|
| + static JobCallback HttpErrorJob(std::string error);
|
| +
|
| // Returns a JobCallback that will process a policy register request that
|
| // should succeed. The request parameters are validated, and an appropriate
|
| // response is sent back.
|
|
|