| Index: sync/protocol/proto_enum_conversions.cc
|
| diff --git a/sync/protocol/proto_enum_conversions.cc b/sync/protocol/proto_enum_conversions.cc
|
| index af958222414b6369e28dd2900b121d42080423f4..c624efe500dae850422bbd96b1e28dd35c726e1a 100644
|
| --- a/sync/protocol/proto_enum_conversions.cc
|
| +++ b/sync/protocol/proto_enum_conversions.cc
|
| @@ -170,6 +170,18 @@ const char* GetActionString(sync_pb::SyncEnums::Action action) {
|
|
|
| }
|
|
|
| +const char* GetLaunchTypeString(sync_pb::AppSpecifics::LaunchType launch_type) {
|
| + ASSERT_ENUM_BOUNDS(sync_pb::AppSpecifics, LaunchType, PINNED, WINDOW);
|
| + switch (launch_type) {
|
| + ENUM_CASE(sync_pb::AppSpecifics, PINNED);
|
| + ENUM_CASE(sync_pb::AppSpecifics, REGULAR);
|
| + ENUM_CASE(sync_pb::AppSpecifics, FULLSCREEN);
|
| + ENUM_CASE(sync_pb::AppSpecifics, WINDOW);
|
| + }
|
| + NOTREACHED();
|
| + return "";
|
| +}
|
| +
|
| const char* GetDeviceTypeString(
|
| sync_pb::SyncEnums::DeviceType device_type) {
|
| ASSERT_ENUM_BOUNDS(sync_pb::SyncEnums, DeviceType, TYPE_WIN, TYPE_TABLET);
|
|
|