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 | 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/protocol/session_specifics.pb.h" | 10 #include "sync/protocol/session_specifics.pb.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); | 32 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source); |
33 | 33 |
34 const char* GetResponseTypeString( | 34 const char* GetResponseTypeString( |
35 sync_pb::CommitResponse::ResponseType response_type); | 35 sync_pb::CommitResponse::ResponseType response_type); |
36 | 36 |
37 const char* GetErrorTypeString(sync_pb::SyncEnums::ErrorType error_type); | 37 const char* GetErrorTypeString(sync_pb::SyncEnums::ErrorType error_type); |
38 | 38 |
39 const char* GetActionString(sync_pb::SyncEnums::Action action); | 39 const char* GetActionString(sync_pb::SyncEnums::Action action); |
40 | 40 |
41 const char* GetDeviceTypeString( | 41 const char* GetDeviceTypeString( |
42 sync_pb::SessionHeader::DeviceType device_type); | 42 sync_pb::SyncEnums::DeviceType device_type); |
43 | 43 |
44 const char* GetFaviconTypeString( | 44 const char* GetFaviconTypeString( |
45 sync_pb::SessionTab::FaviconType favicon_type); | 45 sync_pb::SessionTab::FaviconType favicon_type); |
46 | 46 |
47 const char* PassphraseTypeString( | 47 const char* PassphraseTypeString( |
48 sync_pb::NigoriSpecifics::PassphraseType type); | 48 sync_pb::NigoriSpecifics::PassphraseType type); |
49 | 49 |
50 } // namespace syncer | 50 } // namespace syncer |
51 | 51 |
52 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ | 52 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ |
OLD | NEW |