Home
last modified time | relevance | path

Searched refs:ENUM_CASE (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/sync/protocol/
Dproto_enum_conversions.cc20 #define ENUM_CASE(enum_parent, enum_value) \ macro
28 ENUM_CASE(sync_pb::AppListSpecifics, TYPE_APP); in GetAppListItemTypeString()
29 ENUM_CASE(sync_pb::AppListSpecifics, TYPE_REMOVE_DEFAULT_APP); in GetAppListItemTypeString()
30 ENUM_CASE(sync_pb::AppListSpecifics, TYPE_FOLDER); in GetAppListItemTypeString()
31 ENUM_CASE(sync_pb::AppListSpecifics, TYPE_URL); in GetAppListItemTypeString()
42 ENUM_CASE(sync_pb::SessionWindow, TYPE_TABBED); in GetBrowserTypeString()
43 ENUM_CASE(sync_pb::SessionWindow, TYPE_POPUP); in GetBrowserTypeString()
54 ENUM_CASE(sync_pb::SyncEnums, LINK); in GetPageTransitionString()
55 ENUM_CASE(sync_pb::SyncEnums, TYPED); in GetPageTransitionString()
56 ENUM_CASE(sync_pb::SyncEnums, AUTO_BOOKMARK); in GetPageTransitionString()
[all …]
Dsync_protocol_error.cc13 #define ENUM_CASE(x) case x: return #x; break; macro
17 ENUM_CASE(SYNC_SUCCESS); in GetSyncErrorTypeString()
18 ENUM_CASE(NOT_MY_BIRTHDAY); in GetSyncErrorTypeString()
19 ENUM_CASE(THROTTLED); in GetSyncErrorTypeString()
20 ENUM_CASE(CLEAR_PENDING); in GetSyncErrorTypeString()
21 ENUM_CASE(TRANSIENT_ERROR); in GetSyncErrorTypeString()
22 ENUM_CASE(NON_RETRIABLE_ERROR); in GetSyncErrorTypeString()
23 ENUM_CASE(MIGRATION_DONE); in GetSyncErrorTypeString()
24 ENUM_CASE(INVALID_CREDENTIAL); in GetSyncErrorTypeString()
25 ENUM_CASE(DISABLED_BY_ADMIN); in GetSyncErrorTypeString()
[all …]
/external/chromium_org/sync/internal_api/public/util/
Dsyncer_error.cc11 #define ENUM_CASE(x) case x: return #x; break; macro
14 ENUM_CASE(UNSET); in GetSyncerErrorString()
15 ENUM_CASE(CANNOT_DO_WORK); in GetSyncerErrorString()
16 ENUM_CASE(NETWORK_CONNECTION_UNAVAILABLE); in GetSyncerErrorString()
17 ENUM_CASE(NETWORK_IO_ERROR); in GetSyncerErrorString()
18 ENUM_CASE(SYNC_SERVER_ERROR); in GetSyncerErrorString()
19 ENUM_CASE(SYNC_AUTH_ERROR); in GetSyncerErrorString()
20 ENUM_CASE(SERVER_RETURN_INVALID_CREDENTIAL); in GetSyncerErrorString()
21 ENUM_CASE(SERVER_RETURN_UNKNOWN_ERROR); in GetSyncerErrorString()
22 ENUM_CASE(SERVER_RETURN_THROTTLED); in GetSyncerErrorString()
[all …]
Dsync_string_conversions.cc7 #define ENUM_CASE(x) case x: return #x macro
13 ENUM_CASE(CONNECTION_OK); in ConnectionStatusToString()
14 ENUM_CASE(CONNECTION_AUTH_ERROR); in ConnectionStatusToString()
15 ENUM_CASE(CONNECTION_SERVER_ERROR); in ConnectionStatusToString()
26 ENUM_CASE(REASON_PASSPHRASE_NOT_REQUIRED); in PassphraseRequiredReasonToString()
27 ENUM_CASE(REASON_ENCRYPTION); in PassphraseRequiredReasonToString()
28 ENUM_CASE(REASON_DECRYPTION); in PassphraseRequiredReasonToString()
37 ENUM_CASE(IMPLICIT_PASSPHRASE); in PassphraseTypeToString()
38 ENUM_CASE(KEYSTORE_PASSPHRASE); in PassphraseTypeToString()
39 ENUM_CASE(FROZEN_IMPLICIT_PASSPHRASE); in PassphraseTypeToString()
[all …]
/external/chromium_org/sync/syncable/
Dsyncable_enum_conversions.cc25 #define ENUM_CASE(enum_value) case enum_value: return #enum_value macro
31 ENUM_CASE(META_HANDLE); in GetMetahandleFieldString()
41 ENUM_CASE(BASE_VERSION); in GetBaseVersionString()
51 ENUM_CASE(SERVER_VERSION); in GetInt64FieldString()
52 ENUM_CASE(LOCAL_EXTERNAL_ID); in GetInt64FieldString()
53 ENUM_CASE(TRANSACTION_VERSION); in GetInt64FieldString()
64 ENUM_CASE(MTIME); in GetTimeFieldString()
65 ENUM_CASE(SERVER_MTIME); in GetTimeFieldString()
66 ENUM_CASE(CTIME); in GetTimeFieldString()
67 ENUM_CASE(SERVER_CTIME); in GetTimeFieldString()
[all …]
Dsyncable_write_transaction.cc168 #define ENUM_CASE(x) case x: return #x; break macro
172 ENUM_CASE(INVALID); in WriterTagToString()
173 ENUM_CASE(SYNCER); in WriterTagToString()
174 ENUM_CASE(AUTHWATCHER); in WriterTagToString()
175 ENUM_CASE(UNITTEST); in WriterTagToString()
176 ENUM_CASE(VACUUM_AFTER_SAVE); in WriterTagToString()
177 ENUM_CASE(HANDLE_SAVE_FAILURE); in WriterTagToString()
178 ENUM_CASE(PURGE_ENTRIES); in WriterTagToString()
179 ENUM_CASE(SYNCAPI); in WriterTagToString()
185 #undef ENUM_CASE
/external/chromium_org/chromeos/network/
Dnetwork_ip_config.cc12 #define ENUM_CASE(x) case x: return std::string(#x) macro
15 ENUM_CASE(IPCONFIG_TYPE_UNKNOWN); in IPConfigTypeAsString()
16 ENUM_CASE(IPCONFIG_TYPE_IPV4); in IPConfigTypeAsString()
17 ENUM_CASE(IPCONFIG_TYPE_IPV6); in IPConfigTypeAsString()
18 ENUM_CASE(IPCONFIG_TYPE_DHCP); in IPConfigTypeAsString()
19 ENUM_CASE(IPCONFIG_TYPE_BOOTP); in IPConfigTypeAsString()
20 ENUM_CASE(IPCONFIG_TYPE_ZEROCONF); in IPConfigTypeAsString()
21 ENUM_CASE(IPCONFIG_TYPE_DHCP6); in IPConfigTypeAsString()
22 ENUM_CASE(IPCONFIG_TYPE_PPP); in IPConfigTypeAsString()
27 #undef ENUM_CASE
/external/chromium_org/components/signin/core/browser/
Dsignin_internals_util.cc21 #define ENUM_CASE(x) case x: return (std::string(kSigninPrefPrefix) + #x) macro
24 ENUM_CASE(USERNAME); in SigninStatusFieldToString()
36 ENUM_CASE(SIGNIN_TYPE); in SigninStatusFieldToString()
37 ENUM_CASE(AUTHENTICATION_RESULT_RECEIVED); in SigninStatusFieldToString()
38 ENUM_CASE(REFRESH_TOKEN_RECEIVED); in SigninStatusFieldToString()
39 ENUM_CASE(GET_USER_INFO_STATUS); in SigninStatusFieldToString()
40 ENUM_CASE(UBER_TOKEN_STATUS); in SigninStatusFieldToString()
41 ENUM_CASE(MERGE_SESSION_STATUS); in SigninStatusFieldToString()
/external/chromium_org/sync/engine/
Dnudge_source.cc11 #define ENUM_CASE(x) case x: return #x; break macro
15 ENUM_CASE(NUDGE_SOURCE_UNKNOWN); in GetNudgeSourceString()
16 ENUM_CASE(NUDGE_SOURCE_NOTIFICATION); in GetNudgeSourceString()
17 ENUM_CASE(NUDGE_SOURCE_LOCAL); in GetNudgeSourceString()
18 ENUM_CASE(NUDGE_SOURCE_LOCAL_REFRESH); in GetNudgeSourceString()
24 #undef ENUM_CASE
Dsync_scheduler_impl.cc97 #define ENUM_CASE(x) case x: return #x; break; macro
101 ENUM_CASE(UNKNOWN); in GetModeString()
102 ENUM_CASE(EXPONENTIAL_BACKOFF); in GetModeString()
103 ENUM_CASE(THROTTLED); in GetModeString()
451 ENUM_CASE(CONFIGURATION_MODE); in GetModeString()
452 ENUM_CASE(NORMAL_MODE); in GetModeString()
918 #undef ENUM_CASE
/external/chromium_org/sync/engine/net/
Dserver_connection_manager.cc38 #define ENUM_CASE(x) case x: return #x; break macro
43 ENUM_CASE(NONE); in GetServerConnectionCodeString()
44 ENUM_CASE(CONNECTION_UNAVAILABLE); in GetServerConnectionCodeString()
45 ENUM_CASE(IO_ERROR); in GetServerConnectionCodeString()
46 ENUM_CASE(SYNC_SERVER_ERROR); in GetServerConnectionCodeString()
47 ENUM_CASE(SYNC_AUTH_ERROR); in GetServerConnectionCodeString()
48 ENUM_CASE(SERVER_CONNECTION_OK); in GetServerConnectionCodeString()
49 ENUM_CASE(RETRY); in GetServerConnectionCodeString()
55 #undef ENUM_CASE
/external/chromium_org/components/invalidation/
Dgcm_network_channel.cc442 #define ENUM_CASE(x) case x: return #x; break; in GCMClientResultToString() macro
444 ENUM_CASE(gcm::GCMClient::SUCCESS); in GCMClientResultToString()
445 ENUM_CASE(gcm::GCMClient::NETWORK_ERROR); in GCMClientResultToString()
446 ENUM_CASE(gcm::GCMClient::SERVER_ERROR); in GCMClientResultToString()
447 ENUM_CASE(gcm::GCMClient::TTL_EXCEEDED); in GCMClientResultToString()
448 ENUM_CASE(gcm::GCMClient::UNKNOWN_ERROR); in GCMClientResultToString()
449 ENUM_CASE(gcm::GCMClient::NOT_SIGNED_IN); in GCMClientResultToString()
450 ENUM_CASE(gcm::GCMClient::INVALID_PARAMETER); in GCMClientResultToString()
451 ENUM_CASE(gcm::GCMClient::ASYNC_OPERATION_PENDING); in GCMClientResultToString()
452 ENUM_CASE(gcm::GCMClient::GCM_DISABLED); in GCMClientResultToString()