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

Unified Diff: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/bookmark_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/bookmark_specifics.pb.h
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/bookmark_specifics.pb.h b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/bookmark_specifics.pb.h
new file mode 100755
index 0000000000000000000000000000000000000000..fcf157a9a26a28e26df7570af412471e2ee456b7
--- /dev/null
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/bookmark_specifics.pb.h
@@ -0,0 +1,242 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: bookmark_specifics.proto
+
+#ifndef PROTOBUF_bookmark_5fspecifics_2eproto__INCLUDED
+#define PROTOBUF_bookmark_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_bookmark_5fspecifics_2eproto();
+void protobuf_AssignDesc_bookmark_5fspecifics_2eproto();
+void protobuf_ShutdownFile_bookmark_5fspecifics_2eproto();
+
+class BookmarkSpecifics;
+
+// ===================================================================
+
+class BookmarkSpecifics : public ::google::protobuf::MessageLite {
+ public:
+ BookmarkSpecifics();
+ virtual ~BookmarkSpecifics();
+
+ BookmarkSpecifics(const BookmarkSpecifics& from);
+
+ inline BookmarkSpecifics& operator=(const BookmarkSpecifics& 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 BookmarkSpecifics& default_instance();
+
+ void Swap(BookmarkSpecifics* other);
+
+ // implements Message ----------------------------------------------
+
+ BookmarkSpecifics* New() const;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ void CopyFrom(const BookmarkSpecifics& from);
+ void MergeFrom(const BookmarkSpecifics& 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 url = 1;
+ inline bool has_url() const;
+ inline void clear_url();
+ static const int kUrlFieldNumber = 1;
+ inline const ::std::string& url() const;
+ inline void set_url(const ::std::string& value);
+ inline void set_url(const char* value);
+ inline void set_url(const char* value, size_t size);
+ inline ::std::string* mutable_url();
+
+ // optional bytes favicon = 2;
+ inline bool has_favicon() const;
+ inline void clear_favicon();
+ static const int kFaviconFieldNumber = 2;
+ inline const ::std::string& favicon() const;
+ inline void set_favicon(const ::std::string& value);
+ inline void set_favicon(const char* value);
+ inline void set_favicon(const void* value, size_t size);
+ inline ::std::string* mutable_favicon();
+
+ // @@protoc_insertion_point(class_scope:sync_pb.BookmarkSpecifics)
+ private:
+ ::google::protobuf::UnknownFieldSet _unknown_fields_;
+ mutable int _cached_size_;
+
+ ::std::string* url_;
+ static const ::std::string _default_url_;
+ ::std::string* favicon_;
+ static const ::std::string _default_favicon_;
+ friend void protobuf_AddDesc_bookmark_5fspecifics_2eproto();
+ friend void protobuf_AssignDesc_bookmark_5fspecifics_2eproto();
+ friend void protobuf_ShutdownFile_bookmark_5fspecifics_2eproto();
+
+ ::google::protobuf::uint32 _has_bits_[(2 + 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 BookmarkSpecifics* default_instance_;
+};
+// ===================================================================
+
+static const int kBookmarkFieldNumber = 32904;
+extern ::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics,
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::BookmarkSpecifics >, 11, false >
+ bookmark;
+
+// ===================================================================
+
+// BookmarkSpecifics
+
+// optional string url = 1;
+inline bool BookmarkSpecifics::has_url() const {
+ return _has_bit(0);
+}
+inline void BookmarkSpecifics::clear_url() {
+ if (url_ != &_default_url_) {
+ url_->clear();
+ }
+ _clear_bit(0);
+}
+inline const ::std::string& BookmarkSpecifics::url() const {
+ return *url_;
+}
+inline void BookmarkSpecifics::set_url(const ::std::string& value) {
+ _set_bit(0);
+ if (url_ == &_default_url_) {
+ url_ = new ::std::string;
+ }
+ url_->assign(value);
+}
+inline void BookmarkSpecifics::set_url(const char* value) {
+ _set_bit(0);
+ if (url_ == &_default_url_) {
+ url_ = new ::std::string;
+ }
+ url_->assign(value);
+}
+inline void BookmarkSpecifics::set_url(const char* value, size_t size) {
+ _set_bit(0);
+ if (url_ == &_default_url_) {
+ url_ = new ::std::string;
+ }
+ url_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* BookmarkSpecifics::mutable_url() {
+ _set_bit(0);
+ if (url_ == &_default_url_) {
+ url_ = new ::std::string;
+ }
+ return url_;
+}
+
+// optional bytes favicon = 2;
+inline bool BookmarkSpecifics::has_favicon() const {
+ return _has_bit(1);
+}
+inline void BookmarkSpecifics::clear_favicon() {
+ if (favicon_ != &_default_favicon_) {
+ favicon_->clear();
+ }
+ _clear_bit(1);
+}
+inline const ::std::string& BookmarkSpecifics::favicon() const {
+ return *favicon_;
+}
+inline void BookmarkSpecifics::set_favicon(const ::std::string& value) {
+ _set_bit(1);
+ if (favicon_ == &_default_favicon_) {
+ favicon_ = new ::std::string;
+ }
+ favicon_->assign(value);
+}
+inline void BookmarkSpecifics::set_favicon(const char* value) {
+ _set_bit(1);
+ if (favicon_ == &_default_favicon_) {
+ favicon_ = new ::std::string;
+ }
+ favicon_->assign(value);
+}
+inline void BookmarkSpecifics::set_favicon(const void* value, size_t size) {
+ _set_bit(1);
+ if (favicon_ == &_default_favicon_) {
+ favicon_ = new ::std::string;
+ }
+ favicon_->assign(reinterpret_cast<const char*>(value), size);
+}
+inline ::std::string* BookmarkSpecifics::mutable_favicon() {
+ _set_bit(1);
+ if (favicon_ == &_default_favicon_) {
+ favicon_ = new ::std::string;
+ }
+ return favicon_;
+}
+
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace sync_pb
+
+// @@protoc_insertion_point(global_scope)
+
+#endif // PROTOBUF_bookmark_5fspecifics_2eproto__INCLUDED

Powered by Google App Engine
This is Rietveld 408576698