summaryrefslogtreecommitdiff
path: root/chromium/cc/resources/release_callback_impl.h
blob: c5dffb57ab04f569c3545ddfe5b9751896af4d5a (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
// Copyright 2014 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_IMPL_H_
#define CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_

#include "base/callback.h"

namespace gpu {
struct SyncToken;
}

namespace cc {
class BlockingTaskRunner;

typedef base::Callback<void(const gpu::SyncToken& sync_token,
                            bool is_lost,
                            BlockingTaskRunner* main_thread_task_runner)>
    ReleaseCallbackImpl;

}  // namespace cc

#endif  // CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_