Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/bookmark_specifics.pb.cc |
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/bookmark_specifics.pb.cc b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/bookmark_specifics.pb.cc |
new file mode 100755 |
index 0000000000000000000000000000000000000000..17617d7a36f9d73de7fb91859806b9943ed0cb90 |
--- /dev/null |
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/bookmark_specifics.pb.cc |
@@ -0,0 +1,269 @@ |
+// Generated by the protocol buffer compiler. DO NOT EDIT! |
+ |
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION |
+#include "bookmark_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_bookmark_5fspecifics_2eproto() { |
+ delete BookmarkSpecifics::default_instance_; |
+} |
+ |
+void protobuf_AddDesc_bookmark_5fspecifics_2eproto() { |
+ static bool already_here = false; |
+ if (already_here) return; |
+ already_here = true; |
+ GOOGLE_PROTOBUF_VERIFY_VERSION; |
+ |
+ ::sync_pb::protobuf_AddDesc_sync_2eproto(); |
+ BookmarkSpecifics::default_instance_ = new BookmarkSpecifics(); |
+ ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension( |
+ &::sync_pb::EntitySpecifics::default_instance(), |
+ 32904, 11, false, false, |
+ &::sync_pb::BookmarkSpecifics::default_instance()); |
+ BookmarkSpecifics::default_instance_->InitAsDefaultInstance(); |
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_bookmark_5fspecifics_2eproto); |
+} |
+ |
+// Force AddDescriptors() to be called at static initialization time. |
+struct StaticDescriptorInitializer_bookmark_5fspecifics_2eproto { |
+ StaticDescriptorInitializer_bookmark_5fspecifics_2eproto() { |
+ protobuf_AddDesc_bookmark_5fspecifics_2eproto(); |
+ } |
+} static_descriptor_initializer_bookmark_5fspecifics_2eproto_; |
+ |
+ |
+// =================================================================== |
+ |
+const ::std::string BookmarkSpecifics::_default_url_; |
+const ::std::string BookmarkSpecifics::_default_favicon_; |
+#ifndef _MSC_VER |
+const int BookmarkSpecifics::kUrlFieldNumber; |
+const int BookmarkSpecifics::kFaviconFieldNumber; |
+#endif // !_MSC_VER |
+ |
+BookmarkSpecifics::BookmarkSpecifics() |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+} |
+ |
+void BookmarkSpecifics::InitAsDefaultInstance() { |
+} |
+ |
+BookmarkSpecifics::BookmarkSpecifics(const BookmarkSpecifics& from) |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+ MergeFrom(from); |
+} |
+ |
+void BookmarkSpecifics::SharedCtor() { |
+ _cached_size_ = 0; |
+ url_ = const_cast< ::std::string*>(&_default_url_); |
+ favicon_ = const_cast< ::std::string*>(&_default_favicon_); |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+} |
+ |
+BookmarkSpecifics::~BookmarkSpecifics() { |
+ SharedDtor(); |
+} |
+ |
+void BookmarkSpecifics::SharedDtor() { |
+ if (url_ != &_default_url_) { |
+ delete url_; |
+ } |
+ if (favicon_ != &_default_favicon_) { |
+ delete favicon_; |
+ } |
+ if (this != default_instance_) { |
+ } |
+} |
+ |
+void BookmarkSpecifics::SetCachedSize(int size) const { |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+} |
+const BookmarkSpecifics& BookmarkSpecifics::default_instance() { |
+ if (default_instance_ == NULL) protobuf_AddDesc_bookmark_5fspecifics_2eproto(); return *default_instance_; |
+} |
+ |
+BookmarkSpecifics* BookmarkSpecifics::default_instance_ = NULL; |
+ |
+BookmarkSpecifics* BookmarkSpecifics::New() const { |
+ return new BookmarkSpecifics; |
+} |
+ |
+void BookmarkSpecifics::Clear() { |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (_has_bit(0)) { |
+ if (url_ != &_default_url_) { |
+ url_->clear(); |
+ } |
+ } |
+ if (_has_bit(1)) { |
+ if (favicon_ != &_default_favicon_) { |
+ favicon_->clear(); |
+ } |
+ } |
+ } |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+ mutable_unknown_fields()->Clear(); |
+} |
+ |
+bool BookmarkSpecifics::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_favicon; |
+ break; |
+ } |
+ |
+ // optional bytes favicon = 2; |
+ case 2: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_favicon: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
+ input, this->mutable_favicon())); |
+ } 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 BookmarkSpecifics::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 bytes favicon = 2; |
+ if (_has_bit(1)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteBytes( |
+ 2, this->favicon(), output); |
+ } |
+ |
+ if (!unknown_fields().empty()) { |
+ ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields( |
+ unknown_fields(), output); |
+ } |
+} |
+ |
+int BookmarkSpecifics::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 bytes favicon = 2; |
+ if (has_favicon()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::BytesSize( |
+ this->favicon()); |
+ } |
+ |
+ } |
+ 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 BookmarkSpecifics::CheckTypeAndMergeFrom( |
+ const ::google::protobuf::MessageLite& from) { |
+ MergeFrom(*::google::protobuf::down_cast<const BookmarkSpecifics*>(&from)); |
+} |
+ |
+void BookmarkSpecifics::MergeFrom(const BookmarkSpecifics& from) { |
+ GOOGLE_CHECK_NE(&from, this); |
+ if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (from._has_bit(0)) { |
+ set_url(from.url()); |
+ } |
+ if (from._has_bit(1)) { |
+ set_favicon(from.favicon()); |
+ } |
+ } |
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields()); |
+} |
+ |
+void BookmarkSpecifics::CopyFrom(const BookmarkSpecifics& from) { |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+bool BookmarkSpecifics::IsInitialized() const { |
+ |
+ return true; |
+} |
+ |
+void BookmarkSpecifics::Swap(BookmarkSpecifics* other) { |
+ if (other != this) { |
+ std::swap(url_, other->url_); |
+ std::swap(favicon_, other->favicon_); |
+ std::swap(_has_bits_[0], other->_has_bits_[0]); |
+ _unknown_fields_.Swap(&other->_unknown_fields_); |
+ std::swap(_cached_size_, other->_cached_size_); |
+ } |
+} |
+ |
+::std::string BookmarkSpecifics::GetTypeName() const { |
+ return "sync_pb.BookmarkSpecifics"; |
+} |
+ |
+::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics, |
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::BookmarkSpecifics >, 11, false > |
+ bookmark(kBookmarkFieldNumber, ::sync_pb::BookmarkSpecifics::default_instance()); |
+ |
+// @@protoc_insertion_point(namespace_scope) |
+ |
+} // namespace sync_pb |
+ |
+// @@protoc_insertion_point(global_scope) |