| Index: cc/resources/return_callback.h
|
| diff --git a/cc/resources/return_callback.h b/cc/resources/return_callback.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..abf5aec1d14851c817a812c1328c2407c5c687c7
|
| --- /dev/null
|
| +++ b/cc/resources/return_callback.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2013 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.
|
| +
|
| +#ifndef CC_RESOURCES_RETURN_CALLBACK_H_
|
| +#define CC_RESOURCES_RETURN_CALLBACK_H_
|
| +
|
| +#include "base/callback.h"
|
| +#include "cc/resources/returned_resource.h"
|
| +
|
| +namespace cc {
|
| +class BlockingTaskRunner;
|
| +
|
| +typedef base::Callback<void(const ReturnedResourceArray&,
|
| + BlockingTaskRunner* main_thread_task_runner)>
|
| + ReturnCallback;
|
| +
|
| +} // namespace cc
|
| +
|
| +#endif // CC_RESOURCES_RETURN_CALLBACK_H_
|
|
|