| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 | 7 |
| 8 // Keep this file in sync with the .proto files in this directory. | 8 // Keep this file in sync with the .proto files in this directory. |
| 9 | 9 |
| 10 #include "sync/base/sync_export.h" | 10 #include "sync/base/sync_export.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 SYNC_EXPORT_PRIVATE const char* GetBrowserTypeString( | 28 SYNC_EXPORT_PRIVATE const char* GetBrowserTypeString( |
| 29 sync_pb::SessionWindow::BrowserType browser_type); | 29 sync_pb::SessionWindow::BrowserType browser_type); |
| 30 | 30 |
| 31 SYNC_EXPORT_PRIVATE const char* GetPageTransitionString( | 31 SYNC_EXPORT_PRIVATE const char* GetPageTransitionString( |
| 32 sync_pb::SyncEnums::PageTransition page_transition); | 32 sync_pb::SyncEnums::PageTransition page_transition); |
| 33 | 33 |
| 34 SYNC_EXPORT_PRIVATE const char* GetPageTransitionRedirectTypeString( | 34 SYNC_EXPORT_PRIVATE const char* GetPageTransitionRedirectTypeString( |
| 35 sync_pb::SyncEnums::PageTransitionRedirectType | 35 sync_pb::SyncEnums::PageTransitionRedirectType |
| 36 redirect_type); | 36 redirect_type); |
| 37 | 37 |
| 38 SYNC_EXPORT_PRIVATE const char* GetWifiCredentialSecurityClassString( |
| 39 sync_pb::WifiCredentialSpecifics::SecurityClass security_class); |
| 40 |
| 38 SYNC_EXPORT const char* GetUpdatesSourceString( | 41 SYNC_EXPORT const char* GetUpdatesSourceString( |
| 39 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); | 42 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); |
| 40 | 43 |
| 41 SYNC_EXPORT const char* GetUpdatesOriginString( | 44 SYNC_EXPORT const char* GetUpdatesOriginString( |
| 42 sync_pb::SyncEnums::GetUpdatesOrigin origin); | 45 sync_pb::SyncEnums::GetUpdatesOrigin origin); |
| 43 | 46 |
| 44 SYNC_EXPORT_PRIVATE const char* GetResponseTypeString( | 47 SYNC_EXPORT_PRIVATE const char* GetResponseTypeString( |
| 45 sync_pb::CommitResponse::ResponseType response_type); | 48 sync_pb::CommitResponse::ResponseType response_type); |
| 46 | 49 |
| 47 SYNC_EXPORT_PRIVATE const char* GetErrorTypeString( | 50 SYNC_EXPORT_PRIVATE const char* GetErrorTypeString( |
| (...skipping 13 matching lines...) Expand all Loading... |
| 61 const char* PassphraseTypeString(sync_pb::NigoriSpecifics::PassphraseType type); | 64 const char* PassphraseTypeString(sync_pb::NigoriSpecifics::PassphraseType type); |
| 62 | 65 |
| 63 const char* SingletonDebugEventTypeString( | 66 const char* SingletonDebugEventTypeString( |
| 64 sync_pb::SyncEnums::SingletonDebugEventType type); | 67 sync_pb::SyncEnums::SingletonDebugEventType type); |
| 65 | 68 |
| 66 const char* GetBlockedStateString(sync_pb::TabNavigation::BlockedState state); | 69 const char* GetBlockedStateString(sync_pb::TabNavigation::BlockedState state); |
| 67 | 70 |
| 68 } // namespace syncer | 71 } // namespace syncer |
| 69 | 72 |
| 70 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 73 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
| OLD | NEW |