Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(699)

Unified Diff: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/password_specifics.pb.cc

Issue 4124013: autofill code review. Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/password_specifics.pb.cc
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/password_specifics.pb.cc b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/password_specifics.pb.cc
new file mode 100755
index 0000000000000000000000000000000000000000..3398aa798901a2b1e287c0454f572c73ac5cbd0e
--- /dev/null
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/password_specifics.pb.cc
@@ -0,0 +1,831 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "password_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_password_5fspecifics_2eproto() {
+ delete PasswordSpecificsData::default_instance_;
+ delete PasswordSpecifics::default_instance_;
+}
+
+void protobuf_AddDesc_password_5fspecifics_2eproto() {
+ static bool already_here = false;
+ if (already_here) return;
+ already_here = true;
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+ ::sync_pb::protobuf_AddDesc_encryption_2eproto();
+ ::sync_pb::protobuf_AddDesc_sync_2eproto();
+ PasswordSpecificsData::default_instance_ = new PasswordSpecificsData();
+ PasswordSpecifics::default_instance_ = new PasswordSpecifics();
+ ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension(
+ &::sync_pb::EntitySpecifics::default_instance(),
+ 45873, 11, false, false,
+ &::sync_pb::PasswordSpecifics::default_instance());
+ PasswordSpecificsData::default_instance_->InitAsDefaultInstance();
+ PasswordSpecifics::default_instance_->InitAsDefaultInstance();
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_password_5fspecifics_2eproto);
+}
+
+// Force AddDescriptors() to be called at static initialization time.
+struct StaticDescriptorInitializer_password_5fspecifics_2eproto {
+ StaticDescriptorInitializer_password_5fspecifics_2eproto() {
+ protobuf_AddDesc_password_5fspecifics_2eproto();
+ }
+} static_descriptor_initializer_password_5fspecifics_2eproto_;
+
+
+// ===================================================================
+
+const ::std::string PasswordSpecificsData::_default_signon_realm_;
+const ::std::string PasswordSpecificsData::_default_origin_;
+const ::std::string PasswordSpecificsData::_default_action_;
+const ::std::string PasswordSpecificsData::_default_username_element_;
+const ::std::string PasswordSpecificsData::_default_username_value_;
+const ::std::string PasswordSpecificsData::_default_password_element_;
+const ::std::string PasswordSpecificsData::_default_password_value_;
+#ifndef _MSC_VER
+const int PasswordSpecificsData::kSchemeFieldNumber;
+const int PasswordSpecificsData::kSignonRealmFieldNumber;
+const int PasswordSpecificsData::kOriginFieldNumber;
+const int PasswordSpecificsData::kActionFieldNumber;
+const int PasswordSpecificsData::kUsernameElementFieldNumber;
+const int PasswordSpecificsData::kUsernameValueFieldNumber;
+const int PasswordSpecificsData::kPasswordElementFieldNumber;
+const int PasswordSpecificsData::kPasswordValueFieldNumber;
+const int PasswordSpecificsData::kSslValidFieldNumber;
+const int PasswordSpecificsData::kPreferredFieldNumber;
+const int PasswordSpecificsData::kDateCreatedFieldNumber;
+const int PasswordSpecificsData::kBlacklistedFieldNumber;
+#endif // !_MSC_VER
+
+PasswordSpecificsData::PasswordSpecificsData()
+ : ::google::protobuf::MessageLite() {
+ SharedCtor();
+}
+
+void PasswordSpecificsData::InitAsDefaultInstance() {
+}
+
+PasswordSpecificsData::PasswordSpecificsData(const PasswordSpecificsData& from)
+ : ::google::protobuf::MessageLite() {
+ SharedCtor();
+ MergeFrom(from);
+}
+
+void PasswordSpecificsData::SharedCtor() {
+ _cached_size_ = 0;
+ scheme_ = 0;
+ signon_realm_ = const_cast< ::std::string*>(&_default_signon_realm_);
+ origin_ = const_cast< ::std::string*>(&_default_origin_);
+ action_ = const_cast< ::std::string*>(&_default_action_);
+ username_element_ = const_cast< ::std::string*>(&_default_username_element_);
+ username_value_ = const_cast< ::std::string*>(&_default_username_value_);
+ password_element_ = const_cast< ::std::string*>(&_default_password_element_);
+ password_value_ = const_cast< ::std::string*>(&_default_password_value_);
+ ssl_valid_ = false;
+ preferred_ = false;
+ date_created_ = GOOGLE_LONGLONG(0);
+ blacklisted_ = false;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+PasswordSpecificsData::~PasswordSpecificsData() {
+ SharedDtor();
+}
+
+void PasswordSpecificsData::SharedDtor() {
+ if (signon_realm_ != &_default_signon_realm_) {
+ delete signon_realm_;
+ }
+ if (origin_ != &_default_origin_) {
+ delete origin_;
+ }
+ if (action_ != &_default_action_) {
+ delete action_;
+ }
+ if (username_element_ != &_default_username_element_) {
+ delete username_element_;
+ }
+ if (username_value_ != &_default_username_value_) {
+ delete username_value_;
+ }
+ if (password_element_ != &_default_password_element_) {
+ delete password_element_;
+ }
+ if (password_value_ != &_default_password_value_) {
+ delete password_value_;
+ }
+ if (this != default_instance_) {
+ }
+}
+
+void PasswordSpecificsData::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const PasswordSpecificsData& PasswordSpecificsData::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_password_5fspecifics_2eproto(); return *default_instance_;
+}
+
+PasswordSpecificsData* PasswordSpecificsData::default_instance_ = NULL;
+
+PasswordSpecificsData* PasswordSpecificsData::New() const {
+ return new PasswordSpecificsData;
+}
+
+void PasswordSpecificsData::Clear() {
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
+ scheme_ = 0;
+ if (_has_bit(1)) {
+ if (signon_realm_ != &_default_signon_realm_) {
+ signon_realm_->clear();
+ }
+ }
+ if (_has_bit(2)) {
+ if (origin_ != &_default_origin_) {
+ origin_->clear();
+ }
+ }
+ if (_has_bit(3)) {
+ if (action_ != &_default_action_) {
+ action_->clear();
+ }
+ }
+ if (_has_bit(4)) {
+ if (username_element_ != &_default_username_element_) {
+ username_element_->clear();
+ }
+ }
+ if (_has_bit(5)) {
+ if (username_value_ != &_default_username_value_) {
+ username_value_->clear();
+ }
+ }
+ if (_has_bit(6)) {
+ if (password_element_ != &_default_password_element_) {
+ password_element_->clear();
+ }
+ }
+ if (_has_bit(7)) {
+ if (password_value_ != &_default_password_value_) {
+ password_value_->clear();
+ }
+ }
+ }
+ if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
+ ssl_valid_ = false;
+ preferred_ = false;
+ date_created_ = GOOGLE_LONGLONG(0);
+ blacklisted_ = false;
+ }
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+ mutable_unknown_fields()->Clear();
+}
+
+bool PasswordSpecificsData::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 int32 scheme = 1;
+ case 1: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
+ input, &scheme_)));
+ _set_bit(0);
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(18)) goto parse_signon_realm;
+ break;
+ }
+
+ // optional string signon_realm = 2;
+ case 2: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
+ parse_signon_realm:
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
+ input, this->mutable_signon_realm()));
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(26)) goto parse_origin;
+ break;
+ }
+
+ // optional string origin = 3;
+ case 3: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
+ parse_origin:
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
+ input, this->mutable_origin()));
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(34)) goto parse_action;
+ break;
+ }
+
+ // optional string action = 4;
+ case 4: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
+ parse_action:
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
+ input, this->mutable_action()));
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(42)) goto parse_username_element;
+ break;
+ }
+
+ // optional string username_element = 5;
+ case 5: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
+ parse_username_element:
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
+ input, this->mutable_username_element()));
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(50)) goto parse_username_value;
+ break;
+ }
+
+ // optional string username_value = 6;
+ case 6: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
+ parse_username_value:
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
+ input, this->mutable_username_value()));
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(58)) goto parse_password_element;
+ break;
+ }
+
+ // optional string password_element = 7;
+ case 7: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
+ parse_password_element:
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
+ input, this->mutable_password_element()));
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(66)) goto parse_password_value;
+ break;
+ }
+
+ // optional string password_value = 8;
+ case 8: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
+ parse_password_value:
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
+ input, this->mutable_password_value()));
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(72)) goto parse_ssl_valid;
+ break;
+ }
+
+ // optional bool ssl_valid = 9;
+ case 9: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
+ parse_ssl_valid:
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
+ input, &ssl_valid_)));
+ _set_bit(8);
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(80)) goto parse_preferred;
+ break;
+ }
+
+ // optional bool preferred = 10;
+ case 10: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
+ parse_preferred:
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
+ input, &preferred_)));
+ _set_bit(9);
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(88)) goto parse_date_created;
+ break;
+ }
+
+ // optional int64 date_created = 11;
+ case 11: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
+ parse_date_created:
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
+ input, &date_created_)));
+ _set_bit(10);
+ } else {
+ goto handle_uninterpreted;
+ }
+ if (input->ExpectTag(96)) goto parse_blacklisted;
+ break;
+ }
+
+ // optional bool blacklisted = 12;
+ case 12: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
+ parse_blacklisted:
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
+ input, &blacklisted_)));
+ _set_bit(11);
+ } 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 PasswordSpecificsData::SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const {
+ // optional int32 scheme = 1;
+ if (_has_bit(0)) {
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->scheme(), output);
+ }
+
+ // optional string signon_realm = 2;
+ if (_has_bit(1)) {
+ ::google::protobuf::internal::WireFormatLite::WriteString(
+ 2, this->signon_realm(), output);
+ }
+
+ // optional string origin = 3;
+ if (_has_bit(2)) {
+ ::google::protobuf::internal::WireFormatLite::WriteString(
+ 3, this->origin(), output);
+ }
+
+ // optional string action = 4;
+ if (_has_bit(3)) {
+ ::google::protobuf::internal::WireFormatLite::WriteString(
+ 4, this->action(), output);
+ }
+
+ // optional string username_element = 5;
+ if (_has_bit(4)) {
+ ::google::protobuf::internal::WireFormatLite::WriteString(
+ 5, this->username_element(), output);
+ }
+
+ // optional string username_value = 6;
+ if (_has_bit(5)) {
+ ::google::protobuf::internal::WireFormatLite::WriteString(
+ 6, this->username_value(), output);
+ }
+
+ // optional string password_element = 7;
+ if (_has_bit(6)) {
+ ::google::protobuf::internal::WireFormatLite::WriteString(
+ 7, this->password_element(), output);
+ }
+
+ // optional string password_value = 8;
+ if (_has_bit(7)) {
+ ::google::protobuf::internal::WireFormatLite::WriteString(
+ 8, this->password_value(), output);
+ }
+
+ // optional bool ssl_valid = 9;
+ if (_has_bit(8)) {
+ ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->ssl_valid(), output);
+ }
+
+ // optional bool preferred = 10;
+ if (_has_bit(9)) {
+ ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->preferred(), output);
+ }
+
+ // optional int64 date_created = 11;
+ if (_has_bit(10)) {
+ ::google::protobuf::internal::WireFormatLite::WriteInt64(11, this->date_created(), output);
+ }
+
+ // optional bool blacklisted = 12;
+ if (_has_bit(11)) {
+ ::google::protobuf::internal::WireFormatLite::WriteBool(12, this->blacklisted(), output);
+ }
+
+ if (!unknown_fields().empty()) {
+ ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
+ unknown_fields(), output);
+ }
+}
+
+int PasswordSpecificsData::ByteSize() const {
+ int total_size = 0;
+
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
+ // optional int32 scheme = 1;
+ if (has_scheme()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::Int32Size(
+ this->scheme());
+ }
+
+ // optional string signon_realm = 2;
+ if (has_signon_realm()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::StringSize(
+ this->signon_realm());
+ }
+
+ // optional string origin = 3;
+ if (has_origin()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::StringSize(
+ this->origin());
+ }
+
+ // optional string action = 4;
+ if (has_action()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::StringSize(
+ this->action());
+ }
+
+ // optional string username_element = 5;
+ if (has_username_element()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::StringSize(
+ this->username_element());
+ }
+
+ // optional string username_value = 6;
+ if (has_username_value()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::StringSize(
+ this->username_value());
+ }
+
+ // optional string password_element = 7;
+ if (has_password_element()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::StringSize(
+ this->password_element());
+ }
+
+ // optional string password_value = 8;
+ if (has_password_value()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::StringSize(
+ this->password_value());
+ }
+
+ }
+ if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
+ // optional bool ssl_valid = 9;
+ if (has_ssl_valid()) {
+ total_size += 1 + 1;
+ }
+
+ // optional bool preferred = 10;
+ if (has_preferred()) {
+ total_size += 1 + 1;
+ }
+
+ // optional int64 date_created = 11;
+ if (has_date_created()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::Int64Size(
+ this->date_created());
+ }
+
+ // optional bool blacklisted = 12;
+ if (has_blacklisted()) {
+ total_size += 1 + 1;
+ }
+
+ }
+ 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 PasswordSpecificsData::CheckTypeAndMergeFrom(
+ const ::google::protobuf::MessageLite& from) {
+ MergeFrom(*::google::protobuf::down_cast<const PasswordSpecificsData*>(&from));
+}
+
+void PasswordSpecificsData::MergeFrom(const PasswordSpecificsData& from) {
+ GOOGLE_CHECK_NE(&from, this);
+ if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
+ if (from._has_bit(0)) {
+ set_scheme(from.scheme());
+ }
+ if (from._has_bit(1)) {
+ set_signon_realm(from.signon_realm());
+ }
+ if (from._has_bit(2)) {
+ set_origin(from.origin());
+ }
+ if (from._has_bit(3)) {
+ set_action(from.action());
+ }
+ if (from._has_bit(4)) {
+ set_username_element(from.username_element());
+ }
+ if (from._has_bit(5)) {
+ set_username_value(from.username_value());
+ }
+ if (from._has_bit(6)) {
+ set_password_element(from.password_element());
+ }
+ if (from._has_bit(7)) {
+ set_password_value(from.password_value());
+ }
+ }
+ if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
+ if (from._has_bit(8)) {
+ set_ssl_valid(from.ssl_valid());
+ }
+ if (from._has_bit(9)) {
+ set_preferred(from.preferred());
+ }
+ if (from._has_bit(10)) {
+ set_date_created(from.date_created());
+ }
+ if (from._has_bit(11)) {
+ set_blacklisted(from.blacklisted());
+ }
+ }
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields());
+}
+
+void PasswordSpecificsData::CopyFrom(const PasswordSpecificsData& from) {
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+bool PasswordSpecificsData::IsInitialized() const {
+
+ return true;
+}
+
+void PasswordSpecificsData::Swap(PasswordSpecificsData* other) {
+ if (other != this) {
+ std::swap(scheme_, other->scheme_);
+ std::swap(signon_realm_, other->signon_realm_);
+ std::swap(origin_, other->origin_);
+ std::swap(action_, other->action_);
+ std::swap(username_element_, other->username_element_);
+ std::swap(username_value_, other->username_value_);
+ std::swap(password_element_, other->password_element_);
+ std::swap(password_value_, other->password_value_);
+ std::swap(ssl_valid_, other->ssl_valid_);
+ std::swap(preferred_, other->preferred_);
+ std::swap(date_created_, other->date_created_);
+ std::swap(blacklisted_, other->blacklisted_);
+ std::swap(_has_bits_[0], other->_has_bits_[0]);
+ _unknown_fields_.Swap(&other->_unknown_fields_);
+ std::swap(_cached_size_, other->_cached_size_);
+ }
+}
+
+::std::string PasswordSpecificsData::GetTypeName() const {
+ return "sync_pb.PasswordSpecificsData";
+}
+
+
+// ===================================================================
+
+#ifndef _MSC_VER
+const int PasswordSpecifics::kEncryptedFieldNumber;
+#endif // !_MSC_VER
+
+PasswordSpecifics::PasswordSpecifics()
+ : ::google::protobuf::MessageLite() {
+ SharedCtor();
+}
+
+void PasswordSpecifics::InitAsDefaultInstance() {
+ encrypted_ = const_cast< ::sync_pb::EncryptedData*>(&::sync_pb::EncryptedData::default_instance());
+}
+
+PasswordSpecifics::PasswordSpecifics(const PasswordSpecifics& from)
+ : ::google::protobuf::MessageLite() {
+ SharedCtor();
+ MergeFrom(from);
+}
+
+void PasswordSpecifics::SharedCtor() {
+ _cached_size_ = 0;
+ encrypted_ = NULL;
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+}
+
+PasswordSpecifics::~PasswordSpecifics() {
+ SharedDtor();
+}
+
+void PasswordSpecifics::SharedDtor() {
+ if (this != default_instance_) {
+ delete encrypted_;
+ }
+}
+
+void PasswordSpecifics::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const PasswordSpecifics& PasswordSpecifics::default_instance() {
+ if (default_instance_ == NULL) protobuf_AddDesc_password_5fspecifics_2eproto(); return *default_instance_;
+}
+
+PasswordSpecifics* PasswordSpecifics::default_instance_ = NULL;
+
+PasswordSpecifics* PasswordSpecifics::New() const {
+ return new PasswordSpecifics;
+}
+
+void PasswordSpecifics::Clear() {
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
+ if (_has_bit(0)) {
+ if (encrypted_ != NULL) encrypted_->::sync_pb::EncryptedData::Clear();
+ }
+ }
+ ::memset(_has_bits_, 0, sizeof(_has_bits_));
+ mutable_unknown_fields()->Clear();
+}
+
+bool PasswordSpecifics::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 .sync_pb.EncryptedData encrypted = 1;
+ case 1: {
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
+ input, mutable_encrypted()));
+ } 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 PasswordSpecifics::SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const {
+ // optional .sync_pb.EncryptedData encrypted = 1;
+ if (_has_bit(0)) {
+ ::google::protobuf::internal::WireFormatLite::WriteMessage(
+ 1, this->encrypted(), output);
+ }
+
+ if (!unknown_fields().empty()) {
+ ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
+ unknown_fields(), output);
+ }
+}
+
+int PasswordSpecifics::ByteSize() const {
+ int total_size = 0;
+
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
+ // optional .sync_pb.EncryptedData encrypted = 1;
+ if (has_encrypted()) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
+ this->encrypted());
+ }
+
+ }
+ 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 PasswordSpecifics::CheckTypeAndMergeFrom(
+ const ::google::protobuf::MessageLite& from) {
+ MergeFrom(*::google::protobuf::down_cast<const PasswordSpecifics*>(&from));
+}
+
+void PasswordSpecifics::MergeFrom(const PasswordSpecifics& from) {
+ GOOGLE_CHECK_NE(&from, this);
+ if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
+ if (from._has_bit(0)) {
+ mutable_encrypted()->::sync_pb::EncryptedData::MergeFrom(from.encrypted());
+ }
+ }
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields());
+}
+
+void PasswordSpecifics::CopyFrom(const PasswordSpecifics& from) {
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+bool PasswordSpecifics::IsInitialized() const {
+
+ return true;
+}
+
+void PasswordSpecifics::Swap(PasswordSpecifics* other) {
+ if (other != this) {
+ std::swap(encrypted_, other->encrypted_);
+ std::swap(_has_bits_[0], other->_has_bits_[0]);
+ _unknown_fields_.Swap(&other->_unknown_fields_);
+ std::swap(_cached_size_, other->_cached_size_);
+ }
+}
+
+::std::string PasswordSpecifics::GetTypeName() const {
+ return "sync_pb.PasswordSpecifics";
+}
+
+::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics,
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::PasswordSpecifics >, 11, false >
+ password(kPasswordFieldNumber, ::sync_pb::PasswordSpecifics::default_instance());
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace sync_pb
+
+// @@protoc_insertion_point(global_scope)

Powered by Google App Engine
This is Rietveld 408576698