Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/nigori_specifics.pb.h |
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/nigori_specifics.pb.h b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/nigori_specifics.pb.h |
new file mode 100755 |
index 0000000000000000000000000000000000000000..e18f1e37c7e2cd78d646bbae7ad197f16b2e5630 |
--- /dev/null |
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/nigori_specifics.pb.h |
@@ -0,0 +1,580 @@ |
+// Generated by the protocol buffer compiler. DO NOT EDIT! |
+// source: nigori_specifics.proto |
+ |
+#ifndef PROTOBUF_nigori_5fspecifics_2eproto__INCLUDED |
+#define PROTOBUF_nigori_5fspecifics_2eproto__INCLUDED |
+ |
+#include <string> |
+ |
+#include <google/protobuf/stubs/common.h> |
+ |
+#if GOOGLE_PROTOBUF_VERSION < 2003000 |
+#error This file was generated by a newer version of protoc which is |
+#error incompatible with your Protocol Buffer headers. Please update |
+#error your headers. |
+#endif |
+#if 2003001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
+#error This file was generated by an older version of protoc which is |
+#error incompatible with your Protocol Buffer headers. Please |
+#error regenerate this file with a newer version of protoc. |
+#endif |
+ |
+#include <google/protobuf/generated_message_util.h> |
+#include <google/protobuf/repeated_field.h> |
+#include <google/protobuf/extension_set.h> |
+#include <google/protobuf/unknown_field_set.h> |
+#include "encryption.pb.h" |
+#include "sync.pb.h" |
+// @@protoc_insertion_point(includes) |
+ |
+namespace sync_pb { |
+ |
+// Internal implementation detail -- do not call these. |
+void protobuf_AddDesc_nigori_5fspecifics_2eproto(); |
+void protobuf_AssignDesc_nigori_5fspecifics_2eproto(); |
+void protobuf_ShutdownFile_nigori_5fspecifics_2eproto(); |
+ |
+class NigoriKey; |
+class NigoriKeyBag; |
+class NigoriSpecifics; |
+ |
+// =================================================================== |
+ |
+class NigoriKey : public ::google::protobuf::MessageLite { |
+ public: |
+ NigoriKey(); |
+ virtual ~NigoriKey(); |
+ |
+ NigoriKey(const NigoriKey& from); |
+ |
+ inline NigoriKey& operator=(const NigoriKey& from) { |
+ CopyFrom(from); |
+ return *this; |
+ } |
+ |
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
+ return _unknown_fields_; |
+ } |
+ |
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
+ return &_unknown_fields_; |
+ } |
+ |
+ static const NigoriKey& default_instance(); |
+ |
+ void Swap(NigoriKey* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ NigoriKey* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const NigoriKey& from); |
+ void MergeFrom(const NigoriKey& from); |
+ void Clear(); |
+ bool IsInitialized() const; |
+ |
+ int ByteSize() const; |
+ bool MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input); |
+ void SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const; |
+ int GetCachedSize() const { return _cached_size_; } |
+ private: |
+ void SharedCtor(); |
+ void SharedDtor(); |
+ void SetCachedSize(int size) const; |
+ public: |
+ |
+ ::std::string GetTypeName() const; |
+ |
+ // nested types ---------------------------------------------------- |
+ |
+ // accessors ------------------------------------------------------- |
+ |
+ // optional string name = 1; |
+ inline bool has_name() const; |
+ inline void clear_name(); |
+ static const int kNameFieldNumber = 1; |
+ inline const ::std::string& name() const; |
+ inline void set_name(const ::std::string& value); |
+ inline void set_name(const char* value); |
+ inline void set_name(const char* value, size_t size); |
+ inline ::std::string* mutable_name(); |
+ |
+ // optional bytes user_key = 2; |
+ inline bool has_user_key() const; |
+ inline void clear_user_key(); |
+ static const int kUserKeyFieldNumber = 2; |
+ inline const ::std::string& user_key() const; |
+ inline void set_user_key(const ::std::string& value); |
+ inline void set_user_key(const char* value); |
+ inline void set_user_key(const void* value, size_t size); |
+ inline ::std::string* mutable_user_key(); |
+ |
+ // optional bytes encryption_key = 3; |
+ inline bool has_encryption_key() const; |
+ inline void clear_encryption_key(); |
+ static const int kEncryptionKeyFieldNumber = 3; |
+ inline const ::std::string& encryption_key() const; |
+ inline void set_encryption_key(const ::std::string& value); |
+ inline void set_encryption_key(const char* value); |
+ inline void set_encryption_key(const void* value, size_t size); |
+ inline ::std::string* mutable_encryption_key(); |
+ |
+ // optional bytes mac_key = 4; |
+ inline bool has_mac_key() const; |
+ inline void clear_mac_key(); |
+ static const int kMacKeyFieldNumber = 4; |
+ inline const ::std::string& mac_key() const; |
+ inline void set_mac_key(const ::std::string& value); |
+ inline void set_mac_key(const char* value); |
+ inline void set_mac_key(const void* value, size_t size); |
+ inline ::std::string* mutable_mac_key(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.NigoriKey) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::std::string* name_; |
+ static const ::std::string _default_name_; |
+ ::std::string* user_key_; |
+ static const ::std::string _default_user_key_; |
+ ::std::string* encryption_key_; |
+ static const ::std::string _default_encryption_key_; |
+ ::std::string* mac_key_; |
+ static const ::std::string _default_mac_key_; |
+ friend void protobuf_AddDesc_nigori_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_nigori_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_nigori_5fspecifics_2eproto(); |
+ |
+ ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; |
+ |
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
+ inline bool _has_bit(int index) const { |
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
+ } |
+ inline void _set_bit(int index) { |
+ _has_bits_[index / 32] |= (1u << (index % 32)); |
+ } |
+ inline void _clear_bit(int index) { |
+ _has_bits_[index / 32] &= ~(1u << (index % 32)); |
+ } |
+ |
+ void InitAsDefaultInstance(); |
+ static NigoriKey* default_instance_; |
+}; |
+// ------------------------------------------------------------------- |
+ |
+class NigoriKeyBag : public ::google::protobuf::MessageLite { |
+ public: |
+ NigoriKeyBag(); |
+ virtual ~NigoriKeyBag(); |
+ |
+ NigoriKeyBag(const NigoriKeyBag& from); |
+ |
+ inline NigoriKeyBag& operator=(const NigoriKeyBag& from) { |
+ CopyFrom(from); |
+ return *this; |
+ } |
+ |
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
+ return _unknown_fields_; |
+ } |
+ |
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
+ return &_unknown_fields_; |
+ } |
+ |
+ static const NigoriKeyBag& default_instance(); |
+ |
+ void Swap(NigoriKeyBag* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ NigoriKeyBag* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const NigoriKeyBag& from); |
+ void MergeFrom(const NigoriKeyBag& from); |
+ void Clear(); |
+ bool IsInitialized() const; |
+ |
+ int ByteSize() const; |
+ bool MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input); |
+ void SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const; |
+ int GetCachedSize() const { return _cached_size_; } |
+ private: |
+ void SharedCtor(); |
+ void SharedDtor(); |
+ void SetCachedSize(int size) const; |
+ public: |
+ |
+ ::std::string GetTypeName() const; |
+ |
+ // nested types ---------------------------------------------------- |
+ |
+ // accessors ------------------------------------------------------- |
+ |
+ // repeated .sync_pb.NigoriKey key = 2; |
+ inline int key_size() const; |
+ inline void clear_key(); |
+ static const int kKeyFieldNumber = 2; |
+ inline const ::sync_pb::NigoriKey& key(int index) const; |
+ inline ::sync_pb::NigoriKey* mutable_key(int index); |
+ inline ::sync_pb::NigoriKey* add_key(); |
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::NigoriKey >& |
+ key() const; |
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::NigoriKey >* |
+ mutable_key(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.NigoriKeyBag) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::NigoriKey > key_; |
+ friend void protobuf_AddDesc_nigori_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_nigori_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_nigori_5fspecifics_2eproto(); |
+ |
+ ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
+ |
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
+ inline bool _has_bit(int index) const { |
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
+ } |
+ inline void _set_bit(int index) { |
+ _has_bits_[index / 32] |= (1u << (index % 32)); |
+ } |
+ inline void _clear_bit(int index) { |
+ _has_bits_[index / 32] &= ~(1u << (index % 32)); |
+ } |
+ |
+ void InitAsDefaultInstance(); |
+ static NigoriKeyBag* default_instance_; |
+}; |
+// ------------------------------------------------------------------- |
+ |
+class NigoriSpecifics : public ::google::protobuf::MessageLite { |
+ public: |
+ NigoriSpecifics(); |
+ virtual ~NigoriSpecifics(); |
+ |
+ NigoriSpecifics(const NigoriSpecifics& from); |
+ |
+ inline NigoriSpecifics& operator=(const NigoriSpecifics& from) { |
+ CopyFrom(from); |
+ return *this; |
+ } |
+ |
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
+ return _unknown_fields_; |
+ } |
+ |
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
+ return &_unknown_fields_; |
+ } |
+ |
+ static const NigoriSpecifics& default_instance(); |
+ |
+ void Swap(NigoriSpecifics* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ NigoriSpecifics* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const NigoriSpecifics& from); |
+ void MergeFrom(const NigoriSpecifics& from); |
+ void Clear(); |
+ bool IsInitialized() const; |
+ |
+ int ByteSize() const; |
+ bool MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input); |
+ void SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const; |
+ int GetCachedSize() const { return _cached_size_; } |
+ private: |
+ void SharedCtor(); |
+ void SharedDtor(); |
+ void SetCachedSize(int size) const; |
+ public: |
+ |
+ ::std::string GetTypeName() const; |
+ |
+ // nested types ---------------------------------------------------- |
+ |
+ // accessors ------------------------------------------------------- |
+ |
+ // optional .sync_pb.EncryptedData encrypted = 1; |
+ inline bool has_encrypted() const; |
+ inline void clear_encrypted(); |
+ static const int kEncryptedFieldNumber = 1; |
+ inline const ::sync_pb::EncryptedData& encrypted() const; |
+ inline ::sync_pb::EncryptedData* mutable_encrypted(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.NigoriSpecifics) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::sync_pb::EncryptedData* encrypted_; |
+ friend void protobuf_AddDesc_nigori_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_nigori_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_nigori_5fspecifics_2eproto(); |
+ |
+ ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; |
+ |
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
+ inline bool _has_bit(int index) const { |
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
+ } |
+ inline void _set_bit(int index) { |
+ _has_bits_[index / 32] |= (1u << (index % 32)); |
+ } |
+ inline void _clear_bit(int index) { |
+ _has_bits_[index / 32] &= ~(1u << (index % 32)); |
+ } |
+ |
+ void InitAsDefaultInstance(); |
+ static NigoriSpecifics* default_instance_; |
+}; |
+// =================================================================== |
+ |
+static const int kNigoriFieldNumber = 47745; |
+extern ::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics, |
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::NigoriSpecifics >, 11, false > |
+ nigori; |
+ |
+// =================================================================== |
+ |
+// NigoriKey |
+ |
+// optional string name = 1; |
+inline bool NigoriKey::has_name() const { |
+ return _has_bit(0); |
+} |
+inline void NigoriKey::clear_name() { |
+ if (name_ != &_default_name_) { |
+ name_->clear(); |
+ } |
+ _clear_bit(0); |
+} |
+inline const ::std::string& NigoriKey::name() const { |
+ return *name_; |
+} |
+inline void NigoriKey::set_name(const ::std::string& value) { |
+ _set_bit(0); |
+ if (name_ == &_default_name_) { |
+ name_ = new ::std::string; |
+ } |
+ name_->assign(value); |
+} |
+inline void NigoriKey::set_name(const char* value) { |
+ _set_bit(0); |
+ if (name_ == &_default_name_) { |
+ name_ = new ::std::string; |
+ } |
+ name_->assign(value); |
+} |
+inline void NigoriKey::set_name(const char* value, size_t size) { |
+ _set_bit(0); |
+ if (name_ == &_default_name_) { |
+ name_ = new ::std::string; |
+ } |
+ name_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* NigoriKey::mutable_name() { |
+ _set_bit(0); |
+ if (name_ == &_default_name_) { |
+ name_ = new ::std::string; |
+ } |
+ return name_; |
+} |
+ |
+// optional bytes user_key = 2; |
+inline bool NigoriKey::has_user_key() const { |
+ return _has_bit(1); |
+} |
+inline void NigoriKey::clear_user_key() { |
+ if (user_key_ != &_default_user_key_) { |
+ user_key_->clear(); |
+ } |
+ _clear_bit(1); |
+} |
+inline const ::std::string& NigoriKey::user_key() const { |
+ return *user_key_; |
+} |
+inline void NigoriKey::set_user_key(const ::std::string& value) { |
+ _set_bit(1); |
+ if (user_key_ == &_default_user_key_) { |
+ user_key_ = new ::std::string; |
+ } |
+ user_key_->assign(value); |
+} |
+inline void NigoriKey::set_user_key(const char* value) { |
+ _set_bit(1); |
+ if (user_key_ == &_default_user_key_) { |
+ user_key_ = new ::std::string; |
+ } |
+ user_key_->assign(value); |
+} |
+inline void NigoriKey::set_user_key(const void* value, size_t size) { |
+ _set_bit(1); |
+ if (user_key_ == &_default_user_key_) { |
+ user_key_ = new ::std::string; |
+ } |
+ user_key_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* NigoriKey::mutable_user_key() { |
+ _set_bit(1); |
+ if (user_key_ == &_default_user_key_) { |
+ user_key_ = new ::std::string; |
+ } |
+ return user_key_; |
+} |
+ |
+// optional bytes encryption_key = 3; |
+inline bool NigoriKey::has_encryption_key() const { |
+ return _has_bit(2); |
+} |
+inline void NigoriKey::clear_encryption_key() { |
+ if (encryption_key_ != &_default_encryption_key_) { |
+ encryption_key_->clear(); |
+ } |
+ _clear_bit(2); |
+} |
+inline const ::std::string& NigoriKey::encryption_key() const { |
+ return *encryption_key_; |
+} |
+inline void NigoriKey::set_encryption_key(const ::std::string& value) { |
+ _set_bit(2); |
+ if (encryption_key_ == &_default_encryption_key_) { |
+ encryption_key_ = new ::std::string; |
+ } |
+ encryption_key_->assign(value); |
+} |
+inline void NigoriKey::set_encryption_key(const char* value) { |
+ _set_bit(2); |
+ if (encryption_key_ == &_default_encryption_key_) { |
+ encryption_key_ = new ::std::string; |
+ } |
+ encryption_key_->assign(value); |
+} |
+inline void NigoriKey::set_encryption_key(const void* value, size_t size) { |
+ _set_bit(2); |
+ if (encryption_key_ == &_default_encryption_key_) { |
+ encryption_key_ = new ::std::string; |
+ } |
+ encryption_key_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* NigoriKey::mutable_encryption_key() { |
+ _set_bit(2); |
+ if (encryption_key_ == &_default_encryption_key_) { |
+ encryption_key_ = new ::std::string; |
+ } |
+ return encryption_key_; |
+} |
+ |
+// optional bytes mac_key = 4; |
+inline bool NigoriKey::has_mac_key() const { |
+ return _has_bit(3); |
+} |
+inline void NigoriKey::clear_mac_key() { |
+ if (mac_key_ != &_default_mac_key_) { |
+ mac_key_->clear(); |
+ } |
+ _clear_bit(3); |
+} |
+inline const ::std::string& NigoriKey::mac_key() const { |
+ return *mac_key_; |
+} |
+inline void NigoriKey::set_mac_key(const ::std::string& value) { |
+ _set_bit(3); |
+ if (mac_key_ == &_default_mac_key_) { |
+ mac_key_ = new ::std::string; |
+ } |
+ mac_key_->assign(value); |
+} |
+inline void NigoriKey::set_mac_key(const char* value) { |
+ _set_bit(3); |
+ if (mac_key_ == &_default_mac_key_) { |
+ mac_key_ = new ::std::string; |
+ } |
+ mac_key_->assign(value); |
+} |
+inline void NigoriKey::set_mac_key(const void* value, size_t size) { |
+ _set_bit(3); |
+ if (mac_key_ == &_default_mac_key_) { |
+ mac_key_ = new ::std::string; |
+ } |
+ mac_key_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* NigoriKey::mutable_mac_key() { |
+ _set_bit(3); |
+ if (mac_key_ == &_default_mac_key_) { |
+ mac_key_ = new ::std::string; |
+ } |
+ return mac_key_; |
+} |
+ |
+// ------------------------------------------------------------------- |
+ |
+// NigoriKeyBag |
+ |
+// repeated .sync_pb.NigoriKey key = 2; |
+inline int NigoriKeyBag::key_size() const { |
+ return key_.size(); |
+} |
+inline void NigoriKeyBag::clear_key() { |
+ key_.Clear(); |
+} |
+inline const ::sync_pb::NigoriKey& NigoriKeyBag::key(int index) const { |
+ return key_.Get(index); |
+} |
+inline ::sync_pb::NigoriKey* NigoriKeyBag::mutable_key(int index) { |
+ return key_.Mutable(index); |
+} |
+inline ::sync_pb::NigoriKey* NigoriKeyBag::add_key() { |
+ return key_.Add(); |
+} |
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::NigoriKey >& |
+NigoriKeyBag::key() const { |
+ return key_; |
+} |
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::NigoriKey >* |
+NigoriKeyBag::mutable_key() { |
+ return &key_; |
+} |
+ |
+// ------------------------------------------------------------------- |
+ |
+// NigoriSpecifics |
+ |
+// optional .sync_pb.EncryptedData encrypted = 1; |
+inline bool NigoriSpecifics::has_encrypted() const { |
+ return _has_bit(0); |
+} |
+inline void NigoriSpecifics::clear_encrypted() { |
+ if (encrypted_ != NULL) encrypted_->::sync_pb::EncryptedData::Clear(); |
+ _clear_bit(0); |
+} |
+inline const ::sync_pb::EncryptedData& NigoriSpecifics::encrypted() const { |
+ return encrypted_ != NULL ? *encrypted_ : *default_instance_->encrypted_; |
+} |
+inline ::sync_pb::EncryptedData* NigoriSpecifics::mutable_encrypted() { |
+ _set_bit(0); |
+ if (encrypted_ == NULL) encrypted_ = new ::sync_pb::EncryptedData; |
+ return encrypted_; |
+} |
+ |
+ |
+// @@protoc_insertion_point(namespace_scope) |
+ |
+} // namespace sync_pb |
+ |
+// @@protoc_insertion_point(global_scope) |
+ |
+#endif // PROTOBUF_nigori_5fspecifics_2eproto__INCLUDED |