summaryrefslogtreecommitdiff
path: root/chromium/cc/resources/returned_resource.h
blob: e2008b415a3c7865d46896a69daddc1b89c2f833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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"
#include "cc/base/cc_export.h"

namespace cc {

struct CC_EXPORT 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_