| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 5 #ifndef SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
| 6 #define SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 6 #define SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // Keep this file in sync with the .proto files in this directory. | 9 // Keep this file in sync with the .proto files in this directory. |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 const char* GetPageTransitionString( | 25 const char* GetPageTransitionString( |
| 26 sync_pb::TabNavigation::PageTransition page_transition); | 26 sync_pb::TabNavigation::PageTransition page_transition); |
| 27 | 27 |
| 28 const char* GetPageTransitionQualifierString( | 28 const char* GetPageTransitionQualifierString( |
| 29 sync_pb::TabNavigation::PageTransitionQualifier | 29 sync_pb::TabNavigation::PageTransitionQualifier |
| 30 page_transition_qualifier); | 30 page_transition_qualifier); |
| 31 | 31 |
| 32 const char* GetUpdatesSourceString( | 32 const char* GetUpdatesSourceString( |
| 33 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); | 33 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); |
| 34 | 34 |
| 35 const char* GetResponseTypeString( |
| 36 sync_pb::CommitResponse::ResponseType response_type); |
| 37 |
| 38 const char* GetErrorTypeString(sync_pb::SyncEnums::ErrorType error_type); |
| 39 |
| 40 const char* GetActionString( |
| 41 sync_pb::ClientToServerResponse::Error::Action action); |
| 42 |
| 35 const char* GetDeviceTypeString( | 43 const char* GetDeviceTypeString( |
| 36 sync_pb::SessionHeader::DeviceType device_type); | 44 sync_pb::SessionHeader::DeviceType device_type); |
| 37 | 45 |
| 38 } // namespace browser_sync | 46 } // namespace browser_sync |
| 39 | 47 |
| 40 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 48 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
| OLD | NEW |