Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/theme_specifics.pb.cc |
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/theme_specifics.pb.cc b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/theme_specifics.pb.cc |
new file mode 100755 |
index 0000000000000000000000000000000000000000..ec42e904e3a44ad984559dd5c560ae5866db888b |
--- /dev/null |
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/theme_specifics.pb.cc |
@@ -0,0 +1,377 @@ |
+// Generated by the protocol buffer compiler. DO NOT EDIT! |
+ |
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION |
+#include "theme_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_theme_5fspecifics_2eproto() { |
+ delete ThemeSpecifics::default_instance_; |
+} |
+ |
+void protobuf_AddDesc_theme_5fspecifics_2eproto() { |
+ static bool already_here = false; |
+ if (already_here) return; |
+ already_here = true; |
+ GOOGLE_PROTOBUF_VERIFY_VERSION; |
+ |
+ ::sync_pb::protobuf_AddDesc_sync_2eproto(); |
+ ThemeSpecifics::default_instance_ = new ThemeSpecifics(); |
+ ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension( |
+ &::sync_pb::EntitySpecifics::default_instance(), |
+ 41210, 11, false, false, |
+ &::sync_pb::ThemeSpecifics::default_instance()); |
+ ThemeSpecifics::default_instance_->InitAsDefaultInstance(); |
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_theme_5fspecifics_2eproto); |
+} |
+ |
+// Force AddDescriptors() to be called at static initialization time. |
+struct StaticDescriptorInitializer_theme_5fspecifics_2eproto { |
+ StaticDescriptorInitializer_theme_5fspecifics_2eproto() { |
+ protobuf_AddDesc_theme_5fspecifics_2eproto(); |
+ } |
+} static_descriptor_initializer_theme_5fspecifics_2eproto_; |
+ |
+ |
+// =================================================================== |
+ |
+const ::std::string ThemeSpecifics::_default_custom_theme_name_; |
+const ::std::string ThemeSpecifics::_default_custom_theme_id_; |
+const ::std::string ThemeSpecifics::_default_custom_theme_update_url_; |
+#ifndef _MSC_VER |
+const int ThemeSpecifics::kUseCustomThemeFieldNumber; |
+const int ThemeSpecifics::kUseSystemThemeByDefaultFieldNumber; |
+const int ThemeSpecifics::kCustomThemeNameFieldNumber; |
+const int ThemeSpecifics::kCustomThemeIdFieldNumber; |
+const int ThemeSpecifics::kCustomThemeUpdateUrlFieldNumber; |
+#endif // !_MSC_VER |
+ |
+ThemeSpecifics::ThemeSpecifics() |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+} |
+ |
+void ThemeSpecifics::InitAsDefaultInstance() { |
+} |
+ |
+ThemeSpecifics::ThemeSpecifics(const ThemeSpecifics& from) |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+ MergeFrom(from); |
+} |
+ |
+void ThemeSpecifics::SharedCtor() { |
+ _cached_size_ = 0; |
+ use_custom_theme_ = false; |
+ use_system_theme_by_default_ = false; |
+ custom_theme_name_ = const_cast< ::std::string*>(&_default_custom_theme_name_); |
+ custom_theme_id_ = const_cast< ::std::string*>(&_default_custom_theme_id_); |
+ custom_theme_update_url_ = const_cast< ::std::string*>(&_default_custom_theme_update_url_); |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+} |
+ |
+ThemeSpecifics::~ThemeSpecifics() { |
+ SharedDtor(); |
+} |
+ |
+void ThemeSpecifics::SharedDtor() { |
+ if (custom_theme_name_ != &_default_custom_theme_name_) { |
+ delete custom_theme_name_; |
+ } |
+ if (custom_theme_id_ != &_default_custom_theme_id_) { |
+ delete custom_theme_id_; |
+ } |
+ if (custom_theme_update_url_ != &_default_custom_theme_update_url_) { |
+ delete custom_theme_update_url_; |
+ } |
+ if (this != default_instance_) { |
+ } |
+} |
+ |
+void ThemeSpecifics::SetCachedSize(int size) const { |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+} |
+const ThemeSpecifics& ThemeSpecifics::default_instance() { |
+ if (default_instance_ == NULL) protobuf_AddDesc_theme_5fspecifics_2eproto(); return *default_instance_; |
+} |
+ |
+ThemeSpecifics* ThemeSpecifics::default_instance_ = NULL; |
+ |
+ThemeSpecifics* ThemeSpecifics::New() const { |
+ return new ThemeSpecifics; |
+} |
+ |
+void ThemeSpecifics::Clear() { |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ use_custom_theme_ = false; |
+ use_system_theme_by_default_ = false; |
+ if (_has_bit(2)) { |
+ if (custom_theme_name_ != &_default_custom_theme_name_) { |
+ custom_theme_name_->clear(); |
+ } |
+ } |
+ if (_has_bit(3)) { |
+ if (custom_theme_id_ != &_default_custom_theme_id_) { |
+ custom_theme_id_->clear(); |
+ } |
+ } |
+ if (_has_bit(4)) { |
+ if (custom_theme_update_url_ != &_default_custom_theme_update_url_) { |
+ custom_theme_update_url_->clear(); |
+ } |
+ } |
+ } |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+ mutable_unknown_fields()->Clear(); |
+} |
+ |
+bool ThemeSpecifics::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 bool use_custom_theme = 1; |
+ case 1: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
+ input, &use_custom_theme_))); |
+ _set_bit(0); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(16)) goto parse_use_system_theme_by_default; |
+ break; |
+ } |
+ |
+ // optional bool use_system_theme_by_default = 2; |
+ case 2: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { |
+ parse_use_system_theme_by_default: |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
+ input, &use_system_theme_by_default_))); |
+ _set_bit(1); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(26)) goto parse_custom_theme_name; |
+ break; |
+ } |
+ |
+ // optional string custom_theme_name = 3; |
+ case 3: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_custom_theme_name: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_custom_theme_name())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(34)) goto parse_custom_theme_id; |
+ break; |
+ } |
+ |
+ // optional string custom_theme_id = 4; |
+ case 4: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_custom_theme_id: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_custom_theme_id())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(42)) goto parse_custom_theme_update_url; |
+ break; |
+ } |
+ |
+ // optional string custom_theme_update_url = 5; |
+ case 5: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_custom_theme_update_url: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_custom_theme_update_url())); |
+ } 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 ThemeSpecifics::SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const { |
+ // optional bool use_custom_theme = 1; |
+ if (_has_bit(0)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->use_custom_theme(), output); |
+ } |
+ |
+ // optional bool use_system_theme_by_default = 2; |
+ if (_has_bit(1)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->use_system_theme_by_default(), output); |
+ } |
+ |
+ // optional string custom_theme_name = 3; |
+ if (_has_bit(2)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 3, this->custom_theme_name(), output); |
+ } |
+ |
+ // optional string custom_theme_id = 4; |
+ if (_has_bit(3)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 4, this->custom_theme_id(), output); |
+ } |
+ |
+ // optional string custom_theme_update_url = 5; |
+ if (_has_bit(4)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 5, this->custom_theme_update_url(), output); |
+ } |
+ |
+ if (!unknown_fields().empty()) { |
+ ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields( |
+ unknown_fields(), output); |
+ } |
+} |
+ |
+int ThemeSpecifics::ByteSize() const { |
+ int total_size = 0; |
+ |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ // optional bool use_custom_theme = 1; |
+ if (has_use_custom_theme()) { |
+ total_size += 1 + 1; |
+ } |
+ |
+ // optional bool use_system_theme_by_default = 2; |
+ if (has_use_system_theme_by_default()) { |
+ total_size += 1 + 1; |
+ } |
+ |
+ // optional string custom_theme_name = 3; |
+ if (has_custom_theme_name()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->custom_theme_name()); |
+ } |
+ |
+ // optional string custom_theme_id = 4; |
+ if (has_custom_theme_id()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->custom_theme_id()); |
+ } |
+ |
+ // optional string custom_theme_update_url = 5; |
+ if (has_custom_theme_update_url()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->custom_theme_update_url()); |
+ } |
+ |
+ } |
+ 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 ThemeSpecifics::CheckTypeAndMergeFrom( |
+ const ::google::protobuf::MessageLite& from) { |
+ MergeFrom(*::google::protobuf::down_cast<const ThemeSpecifics*>(&from)); |
+} |
+ |
+void ThemeSpecifics::MergeFrom(const ThemeSpecifics& from) { |
+ GOOGLE_CHECK_NE(&from, this); |
+ if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (from._has_bit(0)) { |
+ set_use_custom_theme(from.use_custom_theme()); |
+ } |
+ if (from._has_bit(1)) { |
+ set_use_system_theme_by_default(from.use_system_theme_by_default()); |
+ } |
+ if (from._has_bit(2)) { |
+ set_custom_theme_name(from.custom_theme_name()); |
+ } |
+ if (from._has_bit(3)) { |
+ set_custom_theme_id(from.custom_theme_id()); |
+ } |
+ if (from._has_bit(4)) { |
+ set_custom_theme_update_url(from.custom_theme_update_url()); |
+ } |
+ } |
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields()); |
+} |
+ |
+void ThemeSpecifics::CopyFrom(const ThemeSpecifics& from) { |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+bool ThemeSpecifics::IsInitialized() const { |
+ |
+ return true; |
+} |
+ |
+void ThemeSpecifics::Swap(ThemeSpecifics* other) { |
+ if (other != this) { |
+ std::swap(use_custom_theme_, other->use_custom_theme_); |
+ std::swap(use_system_theme_by_default_, other->use_system_theme_by_default_); |
+ std::swap(custom_theme_name_, other->custom_theme_name_); |
+ std::swap(custom_theme_id_, other->custom_theme_id_); |
+ std::swap(custom_theme_update_url_, other->custom_theme_update_url_); |
+ std::swap(_has_bits_[0], other->_has_bits_[0]); |
+ _unknown_fields_.Swap(&other->_unknown_fields_); |
+ std::swap(_cached_size_, other->_cached_size_); |
+ } |
+} |
+ |
+::std::string ThemeSpecifics::GetTypeName() const { |
+ return "sync_pb.ThemeSpecifics"; |
+} |
+ |
+::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics, |
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::ThemeSpecifics >, 11, false > |
+ theme(kThemeFieldNumber, ::sync_pb::ThemeSpecifics::default_instance()); |
+ |
+// @@protoc_insertion_point(namespace_scope) |
+ |
+} // namespace sync_pb |
+ |
+// @@protoc_insertion_point(global_scope) |