| Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/extension_specifics.pb.cc
|
| diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/extension_specifics.pb.cc b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/extension_specifics.pb.cc
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..bbb487dd5b8faa113cd0736e7d67a3234049cb16
|
| --- /dev/null
|
| +++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/extension_specifics.pb.cc
|
| @@ -0,0 +1,419 @@
|
| +// Generated by the protocol buffer compiler. DO NOT EDIT!
|
| +
|
| +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
| +#include "extension_specifics.pb.h"
|
| +
|
| +#include <algorithm>
|
| +
|
| +#include <google/protobuf/stubs/once.h>
|
| +#include <google/protobuf/io/coded_stream.h>
|
| +#include <google/protobuf/wire_format_lite_inl.h>
|
| +// @@protoc_insertion_point(includes)
|
| +
|
| +namespace sync_pb {
|
| +
|
| +void protobuf_ShutdownFile_extension_5fspecifics_2eproto() {
|
| + delete ExtensionSpecifics::default_instance_;
|
| +}
|
| +
|
| +void protobuf_AddDesc_extension_5fspecifics_2eproto() {
|
| + static bool already_here = false;
|
| + if (already_here) return;
|
| + already_here = true;
|
| + GOOGLE_PROTOBUF_VERIFY_VERSION;
|
| +
|
| + ::sync_pb::protobuf_AddDesc_sync_2eproto();
|
| + ExtensionSpecifics::default_instance_ = new ExtensionSpecifics();
|
| + ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension(
|
| + &::sync_pb::EntitySpecifics::default_instance(),
|
| + 48119, 11, false, false,
|
| + &::sync_pb::ExtensionSpecifics::default_instance());
|
| + ExtensionSpecifics::default_instance_->InitAsDefaultInstance();
|
| + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_extension_5fspecifics_2eproto);
|
| +}
|
| +
|
| +// Force AddDescriptors() to be called at static initialization time.
|
| +struct StaticDescriptorInitializer_extension_5fspecifics_2eproto {
|
| + StaticDescriptorInitializer_extension_5fspecifics_2eproto() {
|
| + protobuf_AddDesc_extension_5fspecifics_2eproto();
|
| + }
|
| +} static_descriptor_initializer_extension_5fspecifics_2eproto_;
|
| +
|
| +
|
| +// ===================================================================
|
| +
|
| +const ::std::string ExtensionSpecifics::_default_id_;
|
| +const ::std::string ExtensionSpecifics::_default_version_;
|
| +const ::std::string ExtensionSpecifics::_default_update_url_;
|
| +const ::std::string ExtensionSpecifics::_default_name_;
|
| +#ifndef _MSC_VER
|
| +const int ExtensionSpecifics::kIdFieldNumber;
|
| +const int ExtensionSpecifics::kVersionFieldNumber;
|
| +const int ExtensionSpecifics::kUpdateUrlFieldNumber;
|
| +const int ExtensionSpecifics::kEnabledFieldNumber;
|
| +const int ExtensionSpecifics::kIncognitoEnabledFieldNumber;
|
| +const int ExtensionSpecifics::kNameFieldNumber;
|
| +#endif // !_MSC_VER
|
| +
|
| +ExtensionSpecifics::ExtensionSpecifics()
|
| + : ::google::protobuf::MessageLite() {
|
| + SharedCtor();
|
| +}
|
| +
|
| +void ExtensionSpecifics::InitAsDefaultInstance() {
|
| +}
|
| +
|
| +ExtensionSpecifics::ExtensionSpecifics(const ExtensionSpecifics& from)
|
| + : ::google::protobuf::MessageLite() {
|
| + SharedCtor();
|
| + MergeFrom(from);
|
| +}
|
| +
|
| +void ExtensionSpecifics::SharedCtor() {
|
| + _cached_size_ = 0;
|
| + id_ = const_cast< ::std::string*>(&_default_id_);
|
| + version_ = const_cast< ::std::string*>(&_default_version_);
|
| + update_url_ = const_cast< ::std::string*>(&_default_update_url_);
|
| + enabled_ = false;
|
| + incognito_enabled_ = false;
|
| + name_ = const_cast< ::std::string*>(&_default_name_);
|
| + ::memset(_has_bits_, 0, sizeof(_has_bits_));
|
| +}
|
| +
|
| +ExtensionSpecifics::~ExtensionSpecifics() {
|
| + SharedDtor();
|
| +}
|
| +
|
| +void ExtensionSpecifics::SharedDtor() {
|
| + if (id_ != &_default_id_) {
|
| + delete id_;
|
| + }
|
| + if (version_ != &_default_version_) {
|
| + delete version_;
|
| + }
|
| + if (update_url_ != &_default_update_url_) {
|
| + delete update_url_;
|
| + }
|
| + if (name_ != &_default_name_) {
|
| + delete name_;
|
| + }
|
| + if (this != default_instance_) {
|
| + }
|
| +}
|
| +
|
| +void ExtensionSpecifics::SetCachedSize(int size) const {
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
| + _cached_size_ = size;
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
| +}
|
| +const ExtensionSpecifics& ExtensionSpecifics::default_instance() {
|
| + if (default_instance_ == NULL) protobuf_AddDesc_extension_5fspecifics_2eproto(); return *default_instance_;
|
| +}
|
| +
|
| +ExtensionSpecifics* ExtensionSpecifics::default_instance_ = NULL;
|
| +
|
| +ExtensionSpecifics* ExtensionSpecifics::New() const {
|
| + return new ExtensionSpecifics;
|
| +}
|
| +
|
| +void ExtensionSpecifics::Clear() {
|
| + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| + if (_has_bit(0)) {
|
| + if (id_ != &_default_id_) {
|
| + id_->clear();
|
| + }
|
| + }
|
| + if (_has_bit(1)) {
|
| + if (version_ != &_default_version_) {
|
| + version_->clear();
|
| + }
|
| + }
|
| + if (_has_bit(2)) {
|
| + if (update_url_ != &_default_update_url_) {
|
| + update_url_->clear();
|
| + }
|
| + }
|
| + enabled_ = false;
|
| + incognito_enabled_ = false;
|
| + if (_has_bit(5)) {
|
| + if (name_ != &_default_name_) {
|
| + name_->clear();
|
| + }
|
| + }
|
| + }
|
| + ::memset(_has_bits_, 0, sizeof(_has_bits_));
|
| + mutable_unknown_fields()->Clear();
|
| +}
|
| +
|
| +bool ExtensionSpecifics::MergePartialFromCodedStream(
|
| + ::google::protobuf::io::CodedInputStream* input) {
|
| +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
|
| + ::google::protobuf::uint32 tag;
|
| + while ((tag = input->ReadTag()) != 0) {
|
| + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
| + // optional string id = 1;
|
| + case 1: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
| + input, this->mutable_id()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectTag(18)) goto parse_version;
|
| + break;
|
| + }
|
| +
|
| + // optional string version = 2;
|
| + case 2: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + parse_version:
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
| + input, this->mutable_version()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectTag(26)) goto parse_update_url;
|
| + break;
|
| + }
|
| +
|
| + // optional string update_url = 3;
|
| + case 3: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + parse_update_url:
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
| + input, this->mutable_update_url()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectTag(32)) goto parse_enabled;
|
| + break;
|
| + }
|
| +
|
| + // optional bool enabled = 4;
|
| + case 4: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
| + parse_enabled:
|
| + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
| + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
|
| + input, &enabled_)));
|
| + _set_bit(3);
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectTag(40)) goto parse_incognito_enabled;
|
| + break;
|
| + }
|
| +
|
| + // optional bool incognito_enabled = 5;
|
| + case 5: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
|
| + parse_incognito_enabled:
|
| + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
| + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
|
| + input, &incognito_enabled_)));
|
| + _set_bit(4);
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectTag(50)) goto parse_name;
|
| + break;
|
| + }
|
| +
|
| + // optional string name = 6;
|
| + case 6: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + parse_name:
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
| + input, this->mutable_name()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectAtEnd()) return true;
|
| + break;
|
| + }
|
| +
|
| + default: {
|
| + handle_uninterpreted:
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
| + return true;
|
| + }
|
| + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields()));
|
| + break;
|
| + }
|
| + }
|
| + }
|
| + return true;
|
| +#undef DO_
|
| +}
|
| +
|
| +void ExtensionSpecifics::SerializeWithCachedSizes(
|
| + ::google::protobuf::io::CodedOutputStream* output) const {
|
| + // optional string id = 1;
|
| + if (_has_bit(0)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteString(
|
| + 1, this->id(), output);
|
| + }
|
| +
|
| + // optional string version = 2;
|
| + if (_has_bit(1)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteString(
|
| + 2, this->version(), output);
|
| + }
|
| +
|
| + // optional string update_url = 3;
|
| + if (_has_bit(2)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteString(
|
| + 3, this->update_url(), output);
|
| + }
|
| +
|
| + // optional bool enabled = 4;
|
| + if (_has_bit(3)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->enabled(), output);
|
| + }
|
| +
|
| + // optional bool incognito_enabled = 5;
|
| + if (_has_bit(4)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->incognito_enabled(), output);
|
| + }
|
| +
|
| + // optional string name = 6;
|
| + if (_has_bit(5)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteString(
|
| + 6, this->name(), output);
|
| + }
|
| +
|
| + if (!unknown_fields().empty()) {
|
| + ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
|
| + unknown_fields(), output);
|
| + }
|
| +}
|
| +
|
| +int ExtensionSpecifics::ByteSize() const {
|
| + int total_size = 0;
|
| +
|
| + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| + // optional string id = 1;
|
| + if (has_id()) {
|
| + total_size += 1 +
|
| + ::google::protobuf::internal::WireFormatLite::StringSize(
|
| + this->id());
|
| + }
|
| +
|
| + // optional string version = 2;
|
| + if (has_version()) {
|
| + total_size += 1 +
|
| + ::google::protobuf::internal::WireFormatLite::StringSize(
|
| + this->version());
|
| + }
|
| +
|
| + // optional string update_url = 3;
|
| + if (has_update_url()) {
|
| + total_size += 1 +
|
| + ::google::protobuf::internal::WireFormatLite::StringSize(
|
| + this->update_url());
|
| + }
|
| +
|
| + // optional bool enabled = 4;
|
| + if (has_enabled()) {
|
| + total_size += 1 + 1;
|
| + }
|
| +
|
| + // optional bool incognito_enabled = 5;
|
| + if (has_incognito_enabled()) {
|
| + total_size += 1 + 1;
|
| + }
|
| +
|
| + // optional string name = 6;
|
| + if (has_name()) {
|
| + total_size += 1 +
|
| + ::google::protobuf::internal::WireFormatLite::StringSize(
|
| + this->name());
|
| + }
|
| +
|
| + }
|
| + if (!unknown_fields().empty()) {
|
| + total_size +=
|
| + ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize(
|
| + unknown_fields());
|
| + }
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
| + _cached_size_ = total_size;
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
| + return total_size;
|
| +}
|
| +
|
| +void ExtensionSpecifics::CheckTypeAndMergeFrom(
|
| + const ::google::protobuf::MessageLite& from) {
|
| + MergeFrom(*::google::protobuf::down_cast<const ExtensionSpecifics*>(&from));
|
| +}
|
| +
|
| +void ExtensionSpecifics::MergeFrom(const ExtensionSpecifics& from) {
|
| + GOOGLE_CHECK_NE(&from, this);
|
| + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| + if (from._has_bit(0)) {
|
| + set_id(from.id());
|
| + }
|
| + if (from._has_bit(1)) {
|
| + set_version(from.version());
|
| + }
|
| + if (from._has_bit(2)) {
|
| + set_update_url(from.update_url());
|
| + }
|
| + if (from._has_bit(3)) {
|
| + set_enabled(from.enabled());
|
| + }
|
| + if (from._has_bit(4)) {
|
| + set_incognito_enabled(from.incognito_enabled());
|
| + }
|
| + if (from._has_bit(5)) {
|
| + set_name(from.name());
|
| + }
|
| + }
|
| + mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
| +}
|
| +
|
| +void ExtensionSpecifics::CopyFrom(const ExtensionSpecifics& from) {
|
| + if (&from == this) return;
|
| + Clear();
|
| + MergeFrom(from);
|
| +}
|
| +
|
| +bool ExtensionSpecifics::IsInitialized() const {
|
| +
|
| + return true;
|
| +}
|
| +
|
| +void ExtensionSpecifics::Swap(ExtensionSpecifics* other) {
|
| + if (other != this) {
|
| + std::swap(id_, other->id_);
|
| + std::swap(version_, other->version_);
|
| + std::swap(update_url_, other->update_url_);
|
| + std::swap(enabled_, other->enabled_);
|
| + std::swap(incognito_enabled_, other->incognito_enabled_);
|
| + std::swap(name_, other->name_);
|
| + std::swap(_has_bits_[0], other->_has_bits_[0]);
|
| + _unknown_fields_.Swap(&other->_unknown_fields_);
|
| + std::swap(_cached_size_, other->_cached_size_);
|
| + }
|
| +}
|
| +
|
| +::std::string ExtensionSpecifics::GetTypeName() const {
|
| + return "sync_pb.ExtensionSpecifics";
|
| +}
|
| +
|
| +::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics,
|
| + ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::ExtensionSpecifics >, 11, false >
|
| + extension(kExtensionFieldNumber, ::sync_pb::ExtensionSpecifics::default_instance());
|
| +
|
| +// @@protoc_insertion_point(namespace_scope)
|
| +
|
| +} // namespace sync_pb
|
| +
|
| +// @@protoc_insertion_point(global_scope)
|
|
|