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

Unified Diff: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/extension_specifics.pb.h

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/extension_specifics.pb.h
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/extension_specifics.pb.h b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/extension_specifics.pb.h
new file mode 100755
index 0000000000000000000000000000000000000000..c77a3b3cdb9170440243137a0c108c86b486b0d0
--- /dev/null
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/extension_specifics.pb.h
@@ -0,0 +1,398 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: extension_specifics.proto
+
+#ifndef PROTOBUF_extension_5fspecifics_2eproto__INCLUDED
+#define PROTOBUF_extension_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 "sync.pb.h"
+// @@protoc_insertion_point(includes)
+
+namespace sync_pb {
+
+// Internal implementation detail -- do not call these.
+void protobuf_AddDesc_extension_5fspecifics_2eproto();
+void protobuf_AssignDesc_extension_5fspecifics_2eproto();
+void protobuf_ShutdownFile_extension_5fspecifics_2eproto();
+
+class ExtensionSpecifics;
+
+// ===================================================================
+
+class ExtensionSpecifics : public ::google::protobuf::MessageLite {
+ public:
+ ExtensionSpecifics();
+ virtual ~ExtensionSpecifics();
+
+ ExtensionSpecifics(const ExtensionSpecifics& from);
+
+ inline ExtensionSpecifics& operator=(const ExtensionSpecifics& 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 ExtensionSpecifics& default_instance();
+
+ void Swap(ExtensionSpecifics* other);
+
+ // implements Message ----------------------------------------------
+
+ ExtensionSpecifics* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ExtensionSpecifics& from);
+ void MergeFrom(const ExtensionSpecifics& 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 id = 1;
+ inline bool has_id() const;
+ inline void clear_id();
+ static const int kIdFieldNumber = 1;
+ inline const ::std::string& id() const;
+ inline void set_id(const ::std::string& value);
+ inline void set_id(const char* value);
+ inline void set_id(const char* value, size_t size);
+ inline ::std::string* mutable_id();
+
+ // optional string version = 2;
+ inline bool has_version() const;
+ inline void clear_version();
+ static const int kVersionFieldNumber = 2;
+ inline const ::std::string& version() const;
+ inline void set_version(const ::std::string& value);
+ inline void set_version(const char* value);
+ inline void set_version(const char* value, size_t size);
+ inline ::std::string* mutable_version();
+
+ // optional string update_url = 3;
+ inline bool has_update_url() const;
+ inline void clear_update_url();
+ static const int kUpdateUrlFieldNumber = 3;
+ inline const ::std::string& update_url() const;
+ inline void set_update_url(const ::std::string& value);
+ inline void set_update_url(const char* value);
+ inline void set_update_url(const char* value, size_t size);
+ inline ::std::string* mutable_update_url();
+
+ // optional bool enabled = 4;
+ inline bool has_enabled() const;
+ inline void clear_enabled();
+ static const int kEnabledFieldNumber = 4;
+ inline bool enabled() const;
+ inline void set_enabled(bool value);
+
+ // optional bool incognito_enabled = 5;
+ inline bool has_incognito_enabled() const;
+ inline void clear_incognito_enabled();
+ static const int kIncognitoEnabledFieldNumber = 5;
+ inline bool incognito_enabled() const;
+ inline void set_incognito_enabled(bool value);
+
+ // optional string name = 6;
+ inline bool has_name() const;
+ inline void clear_name();
+ static const int kNameFieldNumber = 6;
+ 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();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ExtensionSpecifics)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::std::string* id_;
+ static const ::std::string _default_id_;
+ ::std::string* version_;
+ static const ::std::string _default_version_;
+ ::std::string* update_url_;
+ static const ::std::string _default_update_url_;
+ bool enabled_;
+ bool incognito_enabled_;
+ ::std::string* name_;
+ static const ::std::string _default_name_;
+ friend void protobuf_AddDesc_extension_5fspecifics_2eproto();
+ friend void protobuf_AssignDesc_extension_5fspecifics_2eproto();
+ friend void protobuf_ShutdownFile_extension_5fspecifics_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(6 + 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 ExtensionSpecifics* default_instance_;
+};
+// ===================================================================
+
+static const int kExtensionFieldNumber = 48119;
+extern ::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics,
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::ExtensionSpecifics >, 11, false >
+ extension;
+
+// ===================================================================
+
+// ExtensionSpecifics
+
+// optional string id = 1;
+inline bool ExtensionSpecifics::has_id() const {
+ return _has_bit(0);
+}
+inline void ExtensionSpecifics::clear_id() {
+ if (id_ != &_default_id_) {
+ id_->clear();
+ }
+ _clear_bit(0);
+}
+inline const ::std::string& ExtensionSpecifics::id() const {
+ return *id_;
+}
+inline void ExtensionSpecifics::set_id(const ::std::string& value) {
+ _set_bit(0);
+ if (id_ == &_default_id_) {
+ id_ = new ::std::string;
+ }
+ id_->assign(value);
+}
+inline void ExtensionSpecifics::set_id(const char* value) {
+ _set_bit(0);
+ if (id_ == &_default_id_) {
+ id_ = new ::std::string;
+ }
+ id_->assign(value);
+}
+inline void ExtensionSpecifics::set_id(const char* value, size_t size) {
+ _set_bit(0);
+ if (id_ == &_default_id_) {
+ id_ = new ::std::string;
+ }
+ id_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ExtensionSpecifics::mutable_id() {
+ _set_bit(0);
+ if (id_ == &_default_id_) {
+ id_ = new ::std::string;
+ }
+ return id_;
+}
+
+// optional string version = 2;
+inline bool ExtensionSpecifics::has_version() const {
+ return _has_bit(1);
+}
+inline void ExtensionSpecifics::clear_version() {
+ if (version_ != &_default_version_) {
+ version_->clear();
+ }
+ _clear_bit(1);
+}
+inline const ::std::string& ExtensionSpecifics::version() const {
+ return *version_;
+}
+inline void ExtensionSpecifics::set_version(const ::std::string& value) {
+ _set_bit(1);
+ if (version_ == &_default_version_) {
+ version_ = new ::std::string;
+ }
+ version_->assign(value);
+}
+inline void ExtensionSpecifics::set_version(const char* value) {
+ _set_bit(1);
+ if (version_ == &_default_version_) {
+ version_ = new ::std::string;
+ }
+ version_->assign(value);
+}
+inline void ExtensionSpecifics::set_version(const char* value, size_t size) {
+ _set_bit(1);
+ if (version_ == &_default_version_) {
+ version_ = new ::std::string;
+ }
+ version_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ExtensionSpecifics::mutable_version() {
+ _set_bit(1);
+ if (version_ == &_default_version_) {
+ version_ = new ::std::string;
+ }
+ return version_;
+}
+
+// optional string update_url = 3;
+inline bool ExtensionSpecifics::has_update_url() const {
+ return _has_bit(2);
+}
+inline void ExtensionSpecifics::clear_update_url() {
+ if (update_url_ != &_default_update_url_) {
+ update_url_->clear();
+ }
+ _clear_bit(2);
+}
+inline const ::std::string& ExtensionSpecifics::update_url() const {
+ return *update_url_;
+}
+inline void ExtensionSpecifics::set_update_url(const ::std::string& value) {
+ _set_bit(2);
+ if (update_url_ == &_default_update_url_) {
+ update_url_ = new ::std::string;
+ }
+ update_url_->assign(value);
+}
+inline void ExtensionSpecifics::set_update_url(const char* value) {
+ _set_bit(2);
+ if (update_url_ == &_default_update_url_) {
+ update_url_ = new ::std::string;
+ }
+ update_url_->assign(value);
+}
+inline void ExtensionSpecifics::set_update_url(const char* value, size_t size) {
+ _set_bit(2);
+ if (update_url_ == &_default_update_url_) {
+ update_url_ = new ::std::string;
+ }
+ update_url_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ExtensionSpecifics::mutable_update_url() {
+ _set_bit(2);
+ if (update_url_ == &_default_update_url_) {
+ update_url_ = new ::std::string;
+ }
+ return update_url_;
+}
+
+// optional bool enabled = 4;
+inline bool ExtensionSpecifics::has_enabled() const {
+ return _has_bit(3);
+}
+inline void ExtensionSpecifics::clear_enabled() {
+ enabled_ = false;
+ _clear_bit(3);
+}
+inline bool ExtensionSpecifics::enabled() const {
+ return enabled_;
+}
+inline void ExtensionSpecifics::set_enabled(bool value) {
+ _set_bit(3);
+ enabled_ = value;
+}
+
+// optional bool incognito_enabled = 5;
+inline bool ExtensionSpecifics::has_incognito_enabled() const {
+ return _has_bit(4);
+}
+inline void ExtensionSpecifics::clear_incognito_enabled() {
+ incognito_enabled_ = false;
+ _clear_bit(4);
+}
+inline bool ExtensionSpecifics::incognito_enabled() const {
+ return incognito_enabled_;
+}
+inline void ExtensionSpecifics::set_incognito_enabled(bool value) {
+ _set_bit(4);
+ incognito_enabled_ = value;
+}
+
+// optional string name = 6;
+inline bool ExtensionSpecifics::has_name() const {
+ return _has_bit(5);
+}
+inline void ExtensionSpecifics::clear_name() {
+ if (name_ != &_default_name_) {
+ name_->clear();
+ }
+ _clear_bit(5);
+}
+inline const ::std::string& ExtensionSpecifics::name() const {
+ return *name_;
+}
+inline void ExtensionSpecifics::set_name(const ::std::string& value) {
+ _set_bit(5);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+}
+inline void ExtensionSpecifics::set_name(const char* value) {
+ _set_bit(5);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ name_->assign(value);
+}
+inline void ExtensionSpecifics::set_name(const char* value, size_t size) {
+ _set_bit(5);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ name_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ExtensionSpecifics::mutable_name() {
+ _set_bit(5);
+ if (name_ == &_default_name_) {
+ name_ = new ::std::string;
+ }
+ return name_;
+}
+
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace sync_pb
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_extension_5fspecifics_2eproto__INCLUDED

Powered by Google App Engine
This is Rietveld 408576698