| Index: chrome/browser/sync/protocol/proto_enum_conversions.cc
|
| diff --git a/chrome/browser/sync/protocol/proto_enum_conversions.cc b/chrome/browser/sync/protocol/proto_enum_conversions.cc
|
| index 1d8152995ee1f246dd2a3583263ed3ee858568b3..d22dfaafb3ec6c114a2386d46e66968fafef15e7 100644
|
| --- a/chrome/browser/sync/protocol/proto_enum_conversions.cc
|
| +++ b/chrome/browser/sync/protocol/proto_enum_conversions.cc
|
| @@ -89,6 +89,17 @@ const char* GetUpdatesSourceString(
|
| return "";
|
| }
|
|
|
| +const char* GetDeviceTypeString(
|
| + sync_pb::SessionHeader::DeviceType device_type) {
|
| + ASSERT_ENUM_BOUNDS(sync_pb::SessionHeader, DeviceType, TYPE_PC, TYPE_CROS);
|
| + switch (device_type) {
|
| + ENUM_CASE(sync_pb::SessionHeader, TYPE_PC);
|
| + ENUM_CASE(sync_pb::SessionHeader, TYPE_CROS);
|
| + }
|
| + NOTREACHED();
|
| + return "";
|
| +}
|
| +
|
| #undef ASSERT_ENUM_BOUNDS
|
| #undef ENUM_CASE
|
|
|
|
|