Chromium Code Reviews| 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 18 matching lines...) Expand all Loading... | |
| 29 SYNC_EXPORT_PRIVATE const char* GetBrowserTypeString( | 29 SYNC_EXPORT_PRIVATE const char* GetBrowserTypeString( |
| 30 sync_pb::SessionWindow::BrowserType browser_type); | 30 sync_pb::SessionWindow::BrowserType browser_type); |
| 31 | 31 |
| 32 SYNC_EXPORT_PRIVATE const char* GetPageTransitionString( | 32 SYNC_EXPORT_PRIVATE const char* GetPageTransitionString( |
| 33 sync_pb::SyncEnums::PageTransition page_transition); | 33 sync_pb::SyncEnums::PageTransition page_transition); |
| 34 | 34 |
| 35 SYNC_EXPORT_PRIVATE const char* GetPageTransitionRedirectTypeString( | 35 SYNC_EXPORT_PRIVATE const char* GetPageTransitionRedirectTypeString( |
| 36 sync_pb::SyncEnums::PageTransitionRedirectType | 36 sync_pb::SyncEnums::PageTransitionRedirectType |
| 37 redirect_type); | 37 redirect_type); |
| 38 | 38 |
| 39 SYNC_EXPORT_PRIVATE const char* GetWifiCredentialSecurityClassString( | |
| 40 sync_pb::WifiCredentialSpecifics::SecurityClass security_class); | |
| 41 | |
| 42 | |
|
stevenjb
2014/10/24 17:35:18
nit: extra blank line
| |
| 39 SYNC_EXPORT const char* GetUpdatesSourceString( | 43 SYNC_EXPORT const char* GetUpdatesSourceString( |
| 40 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); | 44 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); |
| 41 | 45 |
| 42 SYNC_EXPORT const char* GetUpdatesOriginString( | 46 SYNC_EXPORT const char* GetUpdatesOriginString( |
| 43 sync_pb::SyncEnums::GetUpdatesOrigin origin); | 47 sync_pb::SyncEnums::GetUpdatesOrigin origin); |
| 44 | 48 |
| 45 SYNC_EXPORT_PRIVATE const char* GetResponseTypeString( | 49 SYNC_EXPORT_PRIVATE const char* GetResponseTypeString( |
| 46 sync_pb::CommitResponse::ResponseType response_type); | 50 sync_pb::CommitResponse::ResponseType response_type); |
| 47 | 51 |
| 48 SYNC_EXPORT_PRIVATE const char* GetErrorTypeString( | 52 SYNC_EXPORT_PRIVATE const char* GetErrorTypeString( |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 68 | 72 |
| 69 const char* GetDisplaySizeString( | 73 const char* GetDisplaySizeString( |
| 70 sync_pb::ChromeSyncFolioInfo::DisplaySize display_size); | 74 sync_pb::ChromeSyncFolioInfo::DisplaySize display_size); |
| 71 | 75 |
| 72 const char* GetFetchErrorReasonString( | 76 const char* GetFetchErrorReasonString( |
| 73 sync_pb::ChromeSyncClip::FetchErrorReason fetch_error_reason); | 77 sync_pb::ChromeSyncClip::FetchErrorReason fetch_error_reason); |
| 74 | 78 |
| 75 } // namespace syncer | 79 } // namespace syncer |
| 76 | 80 |
| 77 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 81 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
| OLD | NEW |