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

Unified Diff: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/theme_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/theme_specifics.pb.h
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/theme_specifics.pb.h b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/theme_specifics.pb.h
new file mode 100755
index 0000000000000000000000000000000000000000..adbea4a18d7d47ef2984877c96abef53266d9cf3
--- /dev/null
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/theme_specifics.pb.h
@@ -0,0 +1,344 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: theme_specifics.proto
+
+#ifndef PROTOBUF_theme_5fspecifics_2eproto__INCLUDED
+#define PROTOBUF_theme_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_theme_5fspecifics_2eproto();
+void protobuf_AssignDesc_theme_5fspecifics_2eproto();
+void protobuf_ShutdownFile_theme_5fspecifics_2eproto();
+
+class ThemeSpecifics;
+
+// ===================================================================
+
+class ThemeSpecifics : public ::google::protobuf::MessageLite {
+ public:
+ ThemeSpecifics();
+ virtual ~ThemeSpecifics();
+
+ ThemeSpecifics(const ThemeSpecifics& from);
+
+ inline ThemeSpecifics& operator=(const ThemeSpecifics& 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 ThemeSpecifics& default_instance();
+
+ void Swap(ThemeSpecifics* other);
+
+ // implements Message ----------------------------------------------
+
+ ThemeSpecifics* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const ThemeSpecifics& from);
+ void MergeFrom(const ThemeSpecifics& 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 bool use_custom_theme = 1;
+ inline bool has_use_custom_theme() const;
+ inline void clear_use_custom_theme();
+ static const int kUseCustomThemeFieldNumber = 1;
+ inline bool use_custom_theme() const;
+ inline void set_use_custom_theme(bool value);
+
+ // optional bool use_system_theme_by_default = 2;
+ inline bool has_use_system_theme_by_default() const;
+ inline void clear_use_system_theme_by_default();
+ static const int kUseSystemThemeByDefaultFieldNumber = 2;
+ inline bool use_system_theme_by_default() const;
+ inline void set_use_system_theme_by_default(bool value);
+
+ // optional string custom_theme_name = 3;
+ inline bool has_custom_theme_name() const;
+ inline void clear_custom_theme_name();
+ static const int kCustomThemeNameFieldNumber = 3;
+ inline const ::std::string& custom_theme_name() const;
+ inline void set_custom_theme_name(const ::std::string& value);
+ inline void set_custom_theme_name(const char* value);
+ inline void set_custom_theme_name(const char* value, size_t size);
+ inline ::std::string* mutable_custom_theme_name();
+
+ // optional string custom_theme_id = 4;
+ inline bool has_custom_theme_id() const;
+ inline void clear_custom_theme_id();
+ static const int kCustomThemeIdFieldNumber = 4;
+ inline const ::std::string& custom_theme_id() const;
+ inline void set_custom_theme_id(const ::std::string& value);
+ inline void set_custom_theme_id(const char* value);
+ inline void set_custom_theme_id(const char* value, size_t size);
+ inline ::std::string* mutable_custom_theme_id();
+
+ // optional string custom_theme_update_url = 5;
+ inline bool has_custom_theme_update_url() const;
+ inline void clear_custom_theme_update_url();
+ static const int kCustomThemeUpdateUrlFieldNumber = 5;
+ inline const ::std::string& custom_theme_update_url() const;
+ inline void set_custom_theme_update_url(const ::std::string& value);
+ inline void set_custom_theme_update_url(const char* value);
+ inline void set_custom_theme_update_url(const char* value, size_t size);
+ inline ::std::string* mutable_custom_theme_update_url();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.ThemeSpecifics)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ bool use_custom_theme_;
+ bool use_system_theme_by_default_;
+ ::std::string* custom_theme_name_;
+ static const ::std::string _default_custom_theme_name_;
+ ::std::string* custom_theme_id_;
+ static const ::std::string _default_custom_theme_id_;
+ ::std::string* custom_theme_update_url_;
+ static const ::std::string _default_custom_theme_update_url_;
+ friend void protobuf_AddDesc_theme_5fspecifics_2eproto();
+ friend void protobuf_AssignDesc_theme_5fspecifics_2eproto();
+ friend void protobuf_ShutdownFile_theme_5fspecifics_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(5 + 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 ThemeSpecifics* default_instance_;
+};
+// ===================================================================
+
+static const int kThemeFieldNumber = 41210;
+extern ::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics,
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::ThemeSpecifics >, 11, false >
+ theme;
+
+// ===================================================================
+
+// ThemeSpecifics
+
+// optional bool use_custom_theme = 1;
+inline bool ThemeSpecifics::has_use_custom_theme() const {
+ return _has_bit(0);
+}
+inline void ThemeSpecifics::clear_use_custom_theme() {
+ use_custom_theme_ = false;
+ _clear_bit(0);
+}
+inline bool ThemeSpecifics::use_custom_theme() const {
+ return use_custom_theme_;
+}
+inline void ThemeSpecifics::set_use_custom_theme(bool value) {
+ _set_bit(0);
+ use_custom_theme_ = value;
+}
+
+// optional bool use_system_theme_by_default = 2;
+inline bool ThemeSpecifics::has_use_system_theme_by_default() const {
+ return _has_bit(1);
+}
+inline void ThemeSpecifics::clear_use_system_theme_by_default() {
+ use_system_theme_by_default_ = false;
+ _clear_bit(1);
+}
+inline bool ThemeSpecifics::use_system_theme_by_default() const {
+ return use_system_theme_by_default_;
+}
+inline void ThemeSpecifics::set_use_system_theme_by_default(bool value) {
+ _set_bit(1);
+ use_system_theme_by_default_ = value;
+}
+
+// optional string custom_theme_name = 3;
+inline bool ThemeSpecifics::has_custom_theme_name() const {
+ return _has_bit(2);
+}
+inline void ThemeSpecifics::clear_custom_theme_name() {
+ if (custom_theme_name_ != &_default_custom_theme_name_) {
+ custom_theme_name_->clear();
+ }
+ _clear_bit(2);
+}
+inline const ::std::string& ThemeSpecifics::custom_theme_name() const {
+ return *custom_theme_name_;
+}
+inline void ThemeSpecifics::set_custom_theme_name(const ::std::string& value) {
+ _set_bit(2);
+ if (custom_theme_name_ == &_default_custom_theme_name_) {
+ custom_theme_name_ = new ::std::string;
+ }
+ custom_theme_name_->assign(value);
+}
+inline void ThemeSpecifics::set_custom_theme_name(const char* value) {
+ _set_bit(2);
+ if (custom_theme_name_ == &_default_custom_theme_name_) {
+ custom_theme_name_ = new ::std::string;
+ }
+ custom_theme_name_->assign(value);
+}
+inline void ThemeSpecifics::set_custom_theme_name(const char* value, size_t size) {
+ _set_bit(2);
+ if (custom_theme_name_ == &_default_custom_theme_name_) {
+ custom_theme_name_ = new ::std::string;
+ }
+ custom_theme_name_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ThemeSpecifics::mutable_custom_theme_name() {
+ _set_bit(2);
+ if (custom_theme_name_ == &_default_custom_theme_name_) {
+ custom_theme_name_ = new ::std::string;
+ }
+ return custom_theme_name_;
+}
+
+// optional string custom_theme_id = 4;
+inline bool ThemeSpecifics::has_custom_theme_id() const {
+ return _has_bit(3);
+}
+inline void ThemeSpecifics::clear_custom_theme_id() {
+ if (custom_theme_id_ != &_default_custom_theme_id_) {
+ custom_theme_id_->clear();
+ }
+ _clear_bit(3);
+}
+inline const ::std::string& ThemeSpecifics::custom_theme_id() const {
+ return *custom_theme_id_;
+}
+inline void ThemeSpecifics::set_custom_theme_id(const ::std::string& value) {
+ _set_bit(3);
+ if (custom_theme_id_ == &_default_custom_theme_id_) {
+ custom_theme_id_ = new ::std::string;
+ }
+ custom_theme_id_->assign(value);
+}
+inline void ThemeSpecifics::set_custom_theme_id(const char* value) {
+ _set_bit(3);
+ if (custom_theme_id_ == &_default_custom_theme_id_) {
+ custom_theme_id_ = new ::std::string;
+ }
+ custom_theme_id_->assign(value);
+}
+inline void ThemeSpecifics::set_custom_theme_id(const char* value, size_t size) {
+ _set_bit(3);
+ if (custom_theme_id_ == &_default_custom_theme_id_) {
+ custom_theme_id_ = new ::std::string;
+ }
+ custom_theme_id_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ThemeSpecifics::mutable_custom_theme_id() {
+ _set_bit(3);
+ if (custom_theme_id_ == &_default_custom_theme_id_) {
+ custom_theme_id_ = new ::std::string;
+ }
+ return custom_theme_id_;
+}
+
+// optional string custom_theme_update_url = 5;
+inline bool ThemeSpecifics::has_custom_theme_update_url() const {
+ return _has_bit(4);
+}
+inline void ThemeSpecifics::clear_custom_theme_update_url() {
+ if (custom_theme_update_url_ != &_default_custom_theme_update_url_) {
+ custom_theme_update_url_->clear();
+ }
+ _clear_bit(4);
+}
+inline const ::std::string& ThemeSpecifics::custom_theme_update_url() const {
+ return *custom_theme_update_url_;
+}
+inline void ThemeSpecifics::set_custom_theme_update_url(const ::std::string& value) {
+ _set_bit(4);
+ if (custom_theme_update_url_ == &_default_custom_theme_update_url_) {
+ custom_theme_update_url_ = new ::std::string;
+ }
+ custom_theme_update_url_->assign(value);
+}
+inline void ThemeSpecifics::set_custom_theme_update_url(const char* value) {
+ _set_bit(4);
+ if (custom_theme_update_url_ == &_default_custom_theme_update_url_) {
+ custom_theme_update_url_ = new ::std::string;
+ }
+ custom_theme_update_url_->assign(value);
+}
+inline void ThemeSpecifics::set_custom_theme_update_url(const char* value, size_t size) {
+ _set_bit(4);
+ if (custom_theme_update_url_ == &_default_custom_theme_update_url_) {
+ custom_theme_update_url_ = new ::std::string;
+ }
+ custom_theme_update_url_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* ThemeSpecifics::mutable_custom_theme_update_url() {
+ _set_bit(4);
+ if (custom_theme_update_url_ == &_default_custom_theme_update_url_) {
+ custom_theme_update_url_ = new ::std::string;
+ }
+ return custom_theme_update_url_;
+}
+
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace sync_pb
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_theme_5fspecifics_2eproto__INCLUDED

Powered by Google App Engine
This is Rietveld 408576698