Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/typed_url_specifics.pb.cc |
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/typed_url_specifics.pb.cc b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/typed_url_specifics.pb.cc |
new file mode 100755 |
index 0000000000000000000000000000000000000000..1325571c74b5b55d163e26819ffd3c69a752367d |
--- /dev/null |
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/typed_url_specifics.pb.cc |
@@ -0,0 +1,379 @@ |
+// Generated by the protocol buffer compiler. DO NOT EDIT! |
+ |
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION |
+#include "typed_url_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_typed_5furl_5fspecifics_2eproto() { |
+ delete TypedUrlSpecifics::default_instance_; |
+} |
+ |
+void protobuf_AddDesc_typed_5furl_5fspecifics_2eproto() { |
+ static bool already_here = false; |
+ if (already_here) return; |
+ already_here = true; |
+ GOOGLE_PROTOBUF_VERIFY_VERSION; |
+ |
+ ::sync_pb::protobuf_AddDesc_sync_2eproto(); |
+ TypedUrlSpecifics::default_instance_ = new TypedUrlSpecifics(); |
+ ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension( |
+ &::sync_pb::EntitySpecifics::default_instance(), |
+ 40781, 11, false, false, |
+ &::sync_pb::TypedUrlSpecifics::default_instance()); |
+ TypedUrlSpecifics::default_instance_->InitAsDefaultInstance(); |
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_typed_5furl_5fspecifics_2eproto); |
+} |
+ |
+// Force AddDescriptors() to be called at static initialization time. |
+struct StaticDescriptorInitializer_typed_5furl_5fspecifics_2eproto { |
+ StaticDescriptorInitializer_typed_5furl_5fspecifics_2eproto() { |
+ protobuf_AddDesc_typed_5furl_5fspecifics_2eproto(); |
+ } |
+} static_descriptor_initializer_typed_5furl_5fspecifics_2eproto_; |
+ |
+ |
+// =================================================================== |
+ |
+const ::std::string TypedUrlSpecifics::_default_url_; |
+const ::std::string TypedUrlSpecifics::_default_title_; |
+#ifndef _MSC_VER |
+const int TypedUrlSpecifics::kUrlFieldNumber; |
+const int TypedUrlSpecifics::kTitleFieldNumber; |
+const int TypedUrlSpecifics::kTypedCountFieldNumber; |
+const int TypedUrlSpecifics::kHiddenFieldNumber; |
+const int TypedUrlSpecifics::kVisitFieldNumber; |
+#endif // !_MSC_VER |
+ |
+TypedUrlSpecifics::TypedUrlSpecifics() |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+} |
+ |
+void TypedUrlSpecifics::InitAsDefaultInstance() { |
+} |
+ |
+TypedUrlSpecifics::TypedUrlSpecifics(const TypedUrlSpecifics& from) |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+ MergeFrom(from); |
+} |
+ |
+void TypedUrlSpecifics::SharedCtor() { |
+ _cached_size_ = 0; |
+ url_ = const_cast< ::std::string*>(&_default_url_); |
+ title_ = const_cast< ::std::string*>(&_default_title_); |
+ typed_count_ = 0; |
+ hidden_ = false; |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+} |
+ |
+TypedUrlSpecifics::~TypedUrlSpecifics() { |
+ SharedDtor(); |
+} |
+ |
+void TypedUrlSpecifics::SharedDtor() { |
+ if (url_ != &_default_url_) { |
+ delete url_; |
+ } |
+ if (title_ != &_default_title_) { |
+ delete title_; |
+ } |
+ if (this != default_instance_) { |
+ } |
+} |
+ |
+void TypedUrlSpecifics::SetCachedSize(int size) const { |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+} |
+const TypedUrlSpecifics& TypedUrlSpecifics::default_instance() { |
+ if (default_instance_ == NULL) protobuf_AddDesc_typed_5furl_5fspecifics_2eproto(); return *default_instance_; |
+} |
+ |
+TypedUrlSpecifics* TypedUrlSpecifics::default_instance_ = NULL; |
+ |
+TypedUrlSpecifics* TypedUrlSpecifics::New() const { |
+ return new TypedUrlSpecifics; |
+} |
+ |
+void TypedUrlSpecifics::Clear() { |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (_has_bit(0)) { |
+ if (url_ != &_default_url_) { |
+ url_->clear(); |
+ } |
+ } |
+ if (_has_bit(1)) { |
+ if (title_ != &_default_title_) { |
+ title_->clear(); |
+ } |
+ } |
+ typed_count_ = 0; |
+ hidden_ = false; |
+ } |
+ visit_.Clear(); |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+ mutable_unknown_fields()->Clear(); |
+} |
+ |
+bool TypedUrlSpecifics::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 url = 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_url())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(18)) goto parse_title; |
+ break; |
+ } |
+ |
+ // optional string title = 2; |
+ case 2: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_title: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_title())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(24)) goto parse_typed_count; |
+ break; |
+ } |
+ |
+ // optional int32 typed_count = 3; |
+ case 3: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { |
+ parse_typed_count: |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
+ input, &typed_count_))); |
+ _set_bit(2); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(32)) goto parse_hidden; |
+ break; |
+ } |
+ |
+ // optional bool hidden = 4; |
+ case 4: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { |
+ parse_hidden: |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
+ input, &hidden_))); |
+ _set_bit(3); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(40)) goto parse_visit; |
+ break; |
+ } |
+ |
+ // repeated int64 visit = 5; |
+ case 5: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { |
+ parse_visit: |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< |
+ ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
+ 1, 40, input, this->mutable_visit()))); |
+ } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) |
+ == ::google::protobuf::internal::WireFormatLite:: |
+ WIRETYPE_LENGTH_DELIMITED) { |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< |
+ ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
+ input, this->mutable_visit()))); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(40)) goto parse_visit; |
+ 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 TypedUrlSpecifics::SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const { |
+ // optional string url = 1; |
+ if (_has_bit(0)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 1, this->url(), output); |
+ } |
+ |
+ // optional string title = 2; |
+ if (_has_bit(1)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 2, this->title(), output); |
+ } |
+ |
+ // optional int32 typed_count = 3; |
+ if (_has_bit(2)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->typed_count(), output); |
+ } |
+ |
+ // optional bool hidden = 4; |
+ if (_has_bit(3)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->hidden(), output); |
+ } |
+ |
+ // repeated int64 visit = 5; |
+ for (int i = 0; i < this->visit_size(); i++) { |
+ ::google::protobuf::internal::WireFormatLite::WriteInt64( |
+ 5, this->visit(i), output); |
+ } |
+ |
+ if (!unknown_fields().empty()) { |
+ ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields( |
+ unknown_fields(), output); |
+ } |
+} |
+ |
+int TypedUrlSpecifics::ByteSize() const { |
+ int total_size = 0; |
+ |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ // optional string url = 1; |
+ if (has_url()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->url()); |
+ } |
+ |
+ // optional string title = 2; |
+ if (has_title()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->title()); |
+ } |
+ |
+ // optional int32 typed_count = 3; |
+ if (has_typed_count()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::Int32Size( |
+ this->typed_count()); |
+ } |
+ |
+ // optional bool hidden = 4; |
+ if (has_hidden()) { |
+ total_size += 1 + 1; |
+ } |
+ |
+ } |
+ // repeated int64 visit = 5; |
+ { |
+ int data_size = 0; |
+ for (int i = 0; i < this->visit_size(); i++) { |
+ data_size += ::google::protobuf::internal::WireFormatLite:: |
+ Int64Size(this->visit(i)); |
+ } |
+ total_size += 1 * this->visit_size() + data_size; |
+ } |
+ |
+ 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 TypedUrlSpecifics::CheckTypeAndMergeFrom( |
+ const ::google::protobuf::MessageLite& from) { |
+ MergeFrom(*::google::protobuf::down_cast<const TypedUrlSpecifics*>(&from)); |
+} |
+ |
+void TypedUrlSpecifics::MergeFrom(const TypedUrlSpecifics& from) { |
+ GOOGLE_CHECK_NE(&from, this); |
+ visit_.MergeFrom(from.visit_); |
+ if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (from._has_bit(0)) { |
+ set_url(from.url()); |
+ } |
+ if (from._has_bit(1)) { |
+ set_title(from.title()); |
+ } |
+ if (from._has_bit(2)) { |
+ set_typed_count(from.typed_count()); |
+ } |
+ if (from._has_bit(3)) { |
+ set_hidden(from.hidden()); |
+ } |
+ } |
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields()); |
+} |
+ |
+void TypedUrlSpecifics::CopyFrom(const TypedUrlSpecifics& from) { |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+bool TypedUrlSpecifics::IsInitialized() const { |
+ |
+ return true; |
+} |
+ |
+void TypedUrlSpecifics::Swap(TypedUrlSpecifics* other) { |
+ if (other != this) { |
+ std::swap(url_, other->url_); |
+ std::swap(title_, other->title_); |
+ std::swap(typed_count_, other->typed_count_); |
+ std::swap(hidden_, other->hidden_); |
+ visit_.Swap(&other->visit_); |
+ std::swap(_has_bits_[0], other->_has_bits_[0]); |
+ _unknown_fields_.Swap(&other->_unknown_fields_); |
+ std::swap(_cached_size_, other->_cached_size_); |
+ } |
+} |
+ |
+::std::string TypedUrlSpecifics::GetTypeName() const { |
+ return "sync_pb.TypedUrlSpecifics"; |
+} |
+ |
+::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics, |
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::TypedUrlSpecifics >, 11, false > |
+ typed_url(kTypedUrlFieldNumber, ::sync_pb::TypedUrlSpecifics::default_instance()); |
+ |
+// @@protoc_insertion_point(namespace_scope) |
+ |
+} // namespace sync_pb |
+ |
+// @@protoc_insertion_point(global_scope) |