| Index: headless/public/util/testing/fake_managed_dispatch_url_request_job.cc
|
| diff --git a/headless/public/util/testing/fake_managed_dispatch_url_request_job.cc b/headless/public/util/testing/fake_managed_dispatch_url_request_job.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..24191d3f0266db5fb41aba145fa72f4055211a1b
|
| --- /dev/null
|
| +++ b/headless/public/util/testing/fake_managed_dispatch_url_request_job.cc
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "headless/public/util/testing/fake_managed_dispatch_url_request_job.h"
|
| +
|
| +namespace headless {
|
| +
|
| +void FakeManagedDispatchURLRequestJob::OnHeadersComplete() {
|
| + notifications_->push_back(base::StringPrintf("id: %d OK", id_));
|
| +}
|
| +
|
| +void FakeManagedDispatchURLRequestJob::OnStartError(net::Error error) {
|
| + notifications_->push_back(base::StringPrintf("id: %d err: %d", id_, error));
|
| +}
|
| +
|
| +} // namespace headless
|
|
|