| Index: components/arc/bitmap/bitmap_type_converters.h
|
| diff --git a/components/arc/bitmap/bitmap_type_converters.h b/components/arc/bitmap/bitmap_type_converters.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..815b96513e1a71b5bf63b89f0f6dfdb3ce7d295e
|
| --- /dev/null
|
| +++ b/components/arc/bitmap/bitmap_type_converters.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2016 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_ARC_BITMAP_BITMAP_TYPE_CONVERTERS_H_
|
| +#define COMPONENTS_ARC_BITMAP_BITMAP_TYPE_CONVERTERS_H_
|
| +
|
| +#include "components/arc/common/bitmap.mojom.h"
|
| +#include "third_party/skia/include/core/SkBitmap.h"
|
| +
|
| +namespace mojo {
|
| +
|
| +template <>
|
| +struct TypeConverter<SkBitmap, arc::mojom::ArcBitmapPtr> {
|
| + static SkBitmap Convert(const arc::mojom::ArcBitmapPtr& bitmap);
|
| +};
|
| +
|
| +} // namespace mojo
|
| +
|
| +#endif // COMPONENTS_ARC_BITMAP_BITMAP_TYPE_CONVERTERS_H_
|
|
|