OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CC_PROTO_CC_CONVERSIONS_H_ |
| 6 #define CC_PROTO_CC_CONVERSIONS_H_ |
| 7 |
| 8 #include "cc/base/cc_export.h" |
| 9 |
| 10 namespace cc { |
| 11 class Region; |
| 12 |
| 13 namespace proto { |
| 14 class Region; |
| 15 } // namespace proto |
| 16 |
| 17 // TODO(dtrainor): Move these to a class and make them static |
| 18 // (crbug.com/548432). |
| 19 CC_EXPORT void RegionToProto(const Region& region, proto::Region* proto); |
| 20 CC_EXPORT Region RegionFromProto(const proto::Region& proto); |
| 21 |
| 22 } // namespace cc |
| 23 |
| 24 #endif // CC_PROTO_CC_CONVERSIONS_H_ |
OLD | NEW |