| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 5 #ifndef CHROME_BROWSER_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
| 6 #define CHROME_BROWSER_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 6 #define CHROME_BROWSER_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 13 matching lines...) Expand all Loading... |
| 24 const char* GetPageTransitionString( | 24 const char* GetPageTransitionString( |
| 25 sync_pb::TabNavigation::PageTransition page_transition); | 25 sync_pb::TabNavigation::PageTransition page_transition); |
| 26 | 26 |
| 27 const char* GetPageTransitionQualifierString( | 27 const char* GetPageTransitionQualifierString( |
| 28 sync_pb::TabNavigation::PageTransitionQualifier | 28 sync_pb::TabNavigation::PageTransitionQualifier |
| 29 page_transition_qualifier); | 29 page_transition_qualifier); |
| 30 | 30 |
| 31 const char* GetUpdatesSourceString( | 31 const char* GetUpdatesSourceString( |
| 32 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); | 32 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); |
| 33 | 33 |
| 34 const char* GetDeviceTypeString( |
| 35 sync_pb::SessionHeader::DeviceType device_type); |
| 36 |
| 34 } // namespace browser_sync | 37 } // namespace browser_sync |
| 35 | 38 |
| 36 #endif // CHROME_BROWSER_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 39 #endif // CHROME_BROWSER_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
| OLD | NEW |