#include "components/sync/protocol/sync_enums.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/port_def.inc>
PROTOBUF_PRAGMA_INIT_SEG
_pb;
_pbi;
namespace sync_pb {
PROTOBUF_CONSTEXPR SyncEnums::SyncEnums(
::_pbi::ConstantInitialized): … { … }
struct SyncEnumsDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SyncEnumsDefaultTypeInternal _SyncEnums_default_instance_;
}
namespace sync_pb {
bool SyncEnums_SingletonDebugEventType_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_SingletonDebugEventType_strings[14] = …;
static const char SyncEnums_SingletonDebugEventType_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_SingletonDebugEventType_entries[] = …;
static const int SyncEnums_SingletonDebugEventType_entries_by_number[] = …;
const std::string& SyncEnums_SingletonDebugEventType_Name(
SyncEnums_SingletonDebugEventType value) { … }
bool SyncEnums_SingletonDebugEventType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_SingletonDebugEventType* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_SingletonDebugEventType SyncEnums::CONNECTION_STATUS_CHANGE;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::UPDATED_TOKEN;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::PASSPHRASE_REQUIRED;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::PASSPHRASE_ACCEPTED;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::INITIALIZATION_COMPLETE;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::STOP_SYNCING_PERMANENTLY;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::ACTIONABLE_ERROR;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::ENCRYPTED_TYPES_CHANGED;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::PASSPHRASE_TYPE_CHANGED;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::DEPRECATED_KEYSTORE_TOKEN_UPDATED;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::CONFIGURE_COMPLETE;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::DEPRECATED_BOOTSTRAP_TOKEN_UPDATED;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::TRUSTED_VAULT_KEY_REQUIRED;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::TRUSTED_VAULT_KEY_ACCEPTED;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::SingletonDebugEventType_MIN;
constexpr SyncEnums_SingletonDebugEventType SyncEnums::SingletonDebugEventType_MAX;
constexpr int SyncEnums::SingletonDebugEventType_ARRAYSIZE;
#endif
bool SyncEnums_PageTransition_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_PageTransition_strings[11] = …;
static const char SyncEnums_PageTransition_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_PageTransition_entries[] = …;
static const int SyncEnums_PageTransition_entries_by_number[] = …;
const std::string& SyncEnums_PageTransition_Name(
SyncEnums_PageTransition value) { … }
bool SyncEnums_PageTransition_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_PageTransition* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_PageTransition SyncEnums::LINK;
constexpr SyncEnums_PageTransition SyncEnums::TYPED;
constexpr SyncEnums_PageTransition SyncEnums::AUTO_BOOKMARK;
constexpr SyncEnums_PageTransition SyncEnums::AUTO_SUBFRAME;
constexpr SyncEnums_PageTransition SyncEnums::MANUAL_SUBFRAME;
constexpr SyncEnums_PageTransition SyncEnums::GENERATED;
constexpr SyncEnums_PageTransition SyncEnums::AUTO_TOPLEVEL;
constexpr SyncEnums_PageTransition SyncEnums::FORM_SUBMIT;
constexpr SyncEnums_PageTransition SyncEnums::RELOAD;
constexpr SyncEnums_PageTransition SyncEnums::KEYWORD;
constexpr SyncEnums_PageTransition SyncEnums::KEYWORD_GENERATED;
constexpr SyncEnums_PageTransition SyncEnums::PageTransition_MIN;
constexpr SyncEnums_PageTransition SyncEnums::PageTransition_MAX;
constexpr int SyncEnums::PageTransition_ARRAYSIZE;
#endif
bool SyncEnums_PageTransitionRedirectType_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_PageTransitionRedirectType_strings[2] = …;
static const char SyncEnums_PageTransitionRedirectType_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_PageTransitionRedirectType_entries[] = …;
static const int SyncEnums_PageTransitionRedirectType_entries_by_number[] = …;
const std::string& SyncEnums_PageTransitionRedirectType_Name(
SyncEnums_PageTransitionRedirectType value) { … }
bool SyncEnums_PageTransitionRedirectType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_PageTransitionRedirectType* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_PageTransitionRedirectType SyncEnums::CLIENT_REDIRECT;
constexpr SyncEnums_PageTransitionRedirectType SyncEnums::SERVER_REDIRECT;
constexpr SyncEnums_PageTransitionRedirectType SyncEnums::PageTransitionRedirectType_MIN;
constexpr SyncEnums_PageTransitionRedirectType SyncEnums::PageTransitionRedirectType_MAX;
constexpr int SyncEnums::PageTransitionRedirectType_ARRAYSIZE;
#endif
bool SyncEnums_ErrorType_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_ErrorType_strings[10] = …;
static const char SyncEnums_ErrorType_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_ErrorType_entries[] = …;
static const int SyncEnums_ErrorType_entries_by_number[] = …;
const std::string& SyncEnums_ErrorType_Name(
SyncEnums_ErrorType value) { … }
bool SyncEnums_ErrorType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_ErrorType* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_ErrorType SyncEnums::SUCCESS;
constexpr SyncEnums_ErrorType SyncEnums::NOT_MY_BIRTHDAY;
constexpr SyncEnums_ErrorType SyncEnums::THROTTLED;
constexpr SyncEnums_ErrorType SyncEnums::TRANSIENT_ERROR;
constexpr SyncEnums_ErrorType SyncEnums::MIGRATION_DONE;
constexpr SyncEnums_ErrorType SyncEnums::DISABLED_BY_ADMIN;
constexpr SyncEnums_ErrorType SyncEnums::PARTIAL_FAILURE;
constexpr SyncEnums_ErrorType SyncEnums::CLIENT_DATA_OBSOLETE;
constexpr SyncEnums_ErrorType SyncEnums::ENCRYPTION_OBSOLETE;
constexpr SyncEnums_ErrorType SyncEnums::UNKNOWN;
constexpr SyncEnums_ErrorType SyncEnums::ErrorType_MIN;
constexpr SyncEnums_ErrorType SyncEnums::ErrorType_MAX;
constexpr int SyncEnums::ErrorType_ARRAYSIZE;
#endif
bool SyncEnums_Action_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_Action_strings[2] = …;
static const char SyncEnums_Action_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_Action_entries[] = …;
static const int SyncEnums_Action_entries_by_number[] = …;
const std::string& SyncEnums_Action_Name(
SyncEnums_Action value) { … }
bool SyncEnums_Action_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_Action* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_Action SyncEnums::UPGRADE_CLIENT;
constexpr SyncEnums_Action SyncEnums::UNKNOWN_ACTION;
constexpr SyncEnums_Action SyncEnums::Action_MIN;
constexpr SyncEnums_Action SyncEnums::Action_MAX;
constexpr int SyncEnums::Action_ARRAYSIZE;
#endif
bool SyncEnums_DeviceType_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_DeviceType_strings[8] = …;
static const char SyncEnums_DeviceType_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_DeviceType_entries[] = …;
static const int SyncEnums_DeviceType_entries_by_number[] = …;
const std::string& SyncEnums_DeviceType_Name(
SyncEnums_DeviceType value) { … }
bool SyncEnums_DeviceType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_DeviceType* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_DeviceType SyncEnums::TYPE_UNSET;
constexpr SyncEnums_DeviceType SyncEnums::TYPE_WIN;
constexpr SyncEnums_DeviceType SyncEnums::TYPE_MAC;
constexpr SyncEnums_DeviceType SyncEnums::TYPE_LINUX;
constexpr SyncEnums_DeviceType SyncEnums::TYPE_CROS;
constexpr SyncEnums_DeviceType SyncEnums::TYPE_OTHER;
constexpr SyncEnums_DeviceType SyncEnums::TYPE_PHONE;
constexpr SyncEnums_DeviceType SyncEnums::TYPE_TABLET;
constexpr SyncEnums_DeviceType SyncEnums::DeviceType_MIN;
constexpr SyncEnums_DeviceType SyncEnums::DeviceType_MAX;
constexpr int SyncEnums::DeviceType_ARRAYSIZE;
#endif
bool SyncEnums_OsType_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_OsType_strings[9] = …;
static const char SyncEnums_OsType_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_OsType_entries[] = …;
static const int SyncEnums_OsType_entries_by_number[] = …;
const std::string& SyncEnums_OsType_Name(
SyncEnums_OsType value) { … }
bool SyncEnums_OsType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_OsType* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_OsType SyncEnums::OS_TYPE_UNSPECIFIED;
constexpr SyncEnums_OsType SyncEnums::OS_TYPE_WINDOWS;
constexpr SyncEnums_OsType SyncEnums::OS_TYPE_MAC;
constexpr SyncEnums_OsType SyncEnums::OS_TYPE_LINUX;
constexpr SyncEnums_OsType SyncEnums::OS_TYPE_CHROME_OS_ASH;
constexpr SyncEnums_OsType SyncEnums::OS_TYPE_ANDROID;
constexpr SyncEnums_OsType SyncEnums::OS_TYPE_IOS;
constexpr SyncEnums_OsType SyncEnums::OS_TYPE_CHROME_OS_LACROS;
constexpr SyncEnums_OsType SyncEnums::OS_TYPE_FUCHSIA;
constexpr SyncEnums_OsType SyncEnums::OsType_MIN;
constexpr SyncEnums_OsType SyncEnums::OsType_MAX;
constexpr int SyncEnums::OsType_ARRAYSIZE;
#endif
bool SyncEnums_DeviceFormFactor_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_DeviceFormFactor_strings[7] = …;
static const char SyncEnums_DeviceFormFactor_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_DeviceFormFactor_entries[] = …;
static const int SyncEnums_DeviceFormFactor_entries_by_number[] = …;
const std::string& SyncEnums_DeviceFormFactor_Name(
SyncEnums_DeviceFormFactor value) { … }
bool SyncEnums_DeviceFormFactor_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_DeviceFormFactor* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_DeviceFormFactor SyncEnums::DEVICE_FORM_FACTOR_UNSPECIFIED;
constexpr SyncEnums_DeviceFormFactor SyncEnums::DEVICE_FORM_FACTOR_DESKTOP;
constexpr SyncEnums_DeviceFormFactor SyncEnums::DEVICE_FORM_FACTOR_PHONE;
constexpr SyncEnums_DeviceFormFactor SyncEnums::DEVICE_FORM_FACTOR_TABLET;
constexpr SyncEnums_DeviceFormFactor SyncEnums::DEVICE_FORM_FACTOR_AUTOMOTIVE;
constexpr SyncEnums_DeviceFormFactor SyncEnums::DEVICE_FORM_FACTOR_WEARABLE;
constexpr SyncEnums_DeviceFormFactor SyncEnums::DEVICE_FORM_FACTOR_TV;
constexpr SyncEnums_DeviceFormFactor SyncEnums::DeviceFormFactor_MIN;
constexpr SyncEnums_DeviceFormFactor SyncEnums::DeviceFormFactor_MAX;
constexpr int SyncEnums::DeviceFormFactor_ARRAYSIZE;
#endif
bool SyncEnums_BrowserType_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_BrowserType_strings[5] = …;
static const char SyncEnums_BrowserType_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_BrowserType_entries[] = …;
static const int SyncEnums_BrowserType_entries_by_number[] = …;
const std::string& SyncEnums_BrowserType_Name(
SyncEnums_BrowserType value) { … }
bool SyncEnums_BrowserType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_BrowserType* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_BrowserType SyncEnums::BROWSER_TYPE_UNKNOWN;
constexpr SyncEnums_BrowserType SyncEnums::TYPE_TABBED;
constexpr SyncEnums_BrowserType SyncEnums::TYPE_POPUP;
constexpr SyncEnums_BrowserType SyncEnums::TYPE_CUSTOM_TAB;
constexpr SyncEnums_BrowserType SyncEnums::TYPE_AUTH_TAB;
constexpr SyncEnums_BrowserType SyncEnums::BrowserType_MIN;
constexpr SyncEnums_BrowserType SyncEnums::BrowserType_MAX;
constexpr int SyncEnums::BrowserType_ARRAYSIZE;
#endif
bool SyncEnums_PasswordState_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_PasswordState_strings[3] = …;
static const char SyncEnums_PasswordState_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_PasswordState_entries[] = …;
static const int SyncEnums_PasswordState_entries_by_number[] = …;
const std::string& SyncEnums_PasswordState_Name(
SyncEnums_PasswordState value) { … }
bool SyncEnums_PasswordState_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_PasswordState* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_PasswordState SyncEnums::PASSWORD_STATE_UNKNOWN;
constexpr SyncEnums_PasswordState SyncEnums::NO_PASSWORD_FIELD;
constexpr SyncEnums_PasswordState SyncEnums::HAS_PASSWORD_FIELD;
constexpr SyncEnums_PasswordState SyncEnums::PasswordState_MIN;
constexpr SyncEnums_PasswordState SyncEnums::PasswordState_MAX;
constexpr int SyncEnums::PasswordState_ARRAYSIZE;
#endif
bool SyncEnums_GetUpdatesOrigin_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_GetUpdatesOrigin_strings[9] = …;
static const char SyncEnums_GetUpdatesOrigin_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_GetUpdatesOrigin_entries[] = …;
static const int SyncEnums_GetUpdatesOrigin_entries_by_number[] = …;
const std::string& SyncEnums_GetUpdatesOrigin_Name(
SyncEnums_GetUpdatesOrigin value) { … }
bool SyncEnums_GetUpdatesOrigin_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_GetUpdatesOrigin* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::UNKNOWN_ORIGIN;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::PERIODIC;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::NEWLY_SUPPORTED_DATATYPE;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::MIGRATION;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::NEW_CLIENT;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::RECONFIGURATION;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::GU_TRIGGER;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::RETRY;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::PROGRAMMATIC;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::GetUpdatesOrigin_MIN;
constexpr SyncEnums_GetUpdatesOrigin SyncEnums::GetUpdatesOrigin_MAX;
constexpr int SyncEnums::GetUpdatesOrigin_ARRAYSIZE;
#endif
bool SyncEnums_SendTabReceivingType_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> SyncEnums_SendTabReceivingType_strings[2] = …;
static const char SyncEnums_SendTabReceivingType_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry SyncEnums_SendTabReceivingType_entries[] = …;
static const int SyncEnums_SendTabReceivingType_entries_by_number[] = …;
const std::string& SyncEnums_SendTabReceivingType_Name(
SyncEnums_SendTabReceivingType value) { … }
bool SyncEnums_SendTabReceivingType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SyncEnums_SendTabReceivingType* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr SyncEnums_SendTabReceivingType SyncEnums::SEND_TAB_RECEIVING_TYPE_CHROME_OR_UNSPECIFIED;
constexpr SyncEnums_SendTabReceivingType SyncEnums::SEND_TAB_RECEIVING_TYPE_CHROME_AND_PUSH_NOTIFICATION;
constexpr SyncEnums_SendTabReceivingType SyncEnums::SendTabReceivingType_MIN;
constexpr SyncEnums_SendTabReceivingType SyncEnums::SendTabReceivingType_MAX;
constexpr int SyncEnums::SendTabReceivingType_ARRAYSIZE;
#endif
class SyncEnums::_Internal { … };
SyncEnums::SyncEnums(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
SyncEnums::SyncEnums(const SyncEnums& from)
: … { … }
inline void SyncEnums::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
SyncEnums::~SyncEnums() { … }
inline void SyncEnums::SharedDtor() { … }
void SyncEnums::SetCachedSize(int size) const { … }
void SyncEnums::Clear() { … }
const char* SyncEnums::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* SyncEnums::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t SyncEnums::ByteSizeLong() const { … }
void SyncEnums::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void SyncEnums::MergeFrom(const SyncEnums& from) { … }
void SyncEnums::CopyFrom(const SyncEnums& from) { … }
bool SyncEnums::IsInitialized() const { … }
void SyncEnums::InternalSwap(SyncEnums* other) { … }
std::string SyncEnums::GetTypeName() const { … }
}
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::sync_pb::SyncEnums*
Arena::CreateMaybeMessage< ::sync_pb::SyncEnums >(Arena* arena) { … }
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>