summaryrefslogtreecommitdiff
path: root/chromium/cc/resources/release_callback.h
blob: 1a7245c4e496d6fe6322863c71a880bd36db7f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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_RELEASE_CALLBACK_H_
#define CC_RESOURCES_RELEASE_CALLBACK_H_

#include "base/callback.h"

namespace gpu {
struct SyncToken;
}  // namespace gpu

namespace cc {

typedef base::Callback<void(const gpu::SyncToken& sync_token, bool is_lost)>
    ReleaseCallback;

}  // namespace cc

#endif  // CC_RESOURCES_RELEASE_CALLBACK_H_