| Index: cc/resources/returned_resource.h
|
| diff --git a/cc/resources/returned_resource.h b/cc/resources/returned_resource.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c19e1c95ea2ea790207b1e54bacbcf051c9a1961
|
| --- /dev/null
|
| +++ b/cc/resources/returned_resource.h
|
| @@ -0,0 +1,26 @@
|
| +// 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_RETURNED_RESOURCE_H_
|
| +#define CC_RESOURCES_RETURNED_RESOURCE_H_
|
| +
|
| +#include <vector>
|
| +
|
| +#include "base/basictypes.h"
|
| +
|
| +namespace cc {
|
| +
|
| +struct ReturnedResource {
|
| + ReturnedResource() : id(0), sync_point(0), count(0), lost(false) {}
|
| + unsigned id;
|
| + unsigned sync_point;
|
| + int count;
|
| + bool lost;
|
| +};
|
| +
|
| +typedef std::vector<ReturnedResource> ReturnedResourceArray;
|
| +
|
| +} // namespace cc
|
| +
|
| +#endif // CC_RESOURCES_RETURNED_RESOURCE_H_
|
|
|