diff options
Diffstat (limited to 'chromium/components/viz/common/resources/return_callback.h')
-rw-r--r-- | chromium/components/viz/common/resources/return_callback.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chromium/components/viz/common/resources/return_callback.h b/chromium/components/viz/common/resources/return_callback.h new file mode 100644 index 00000000000..c0ae0a1235d --- /dev/null +++ b/chromium/components/viz/common/resources/return_callback.h @@ -0,0 +1,18 @@ +// 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 COMPONENTS_VIZ_COMMON_RESOURCES_RETURN_CALLBACK_H_ +#define COMPONENTS_VIZ_COMMON_RESOURCES_RETURN_CALLBACK_H_ + +#include "base/callback.h" +#include "components/viz/common/resources/returned_resource.h" + +namespace viz { + +using ReturnCallback = + base::RepeatingCallback<void(const std::vector<ReturnedResource>&)>; + +} // namespace viz + +#endif // COMPONENTS_VIZ_COMMON_RESOURCES_RETURN_CALLBACK_H_ |