Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/session_specifics.pb.h |
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/session_specifics.pb.h b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/session_specifics.pb.h |
new file mode 100755 |
index 0000000000000000000000000000000000000000..93aa0a4c9ba93485bd2f50909bc30ecf197d4956 |
--- /dev/null |
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/session_specifics.pb.h |
@@ -0,0 +1,1104 @@ |
+// Generated by the protocol buffer compiler. DO NOT EDIT! |
+// source: session_specifics.proto |
+ |
+#ifndef PROTOBUF_session_5fspecifics_2eproto__INCLUDED |
+#define PROTOBUF_session_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_session_5fspecifics_2eproto(); |
+void protobuf_AssignDesc_session_5fspecifics_2eproto(); |
+void protobuf_ShutdownFile_session_5fspecifics_2eproto(); |
+ |
+class SessionSpecifics; |
+class SessionWindow; |
+class SessionTab; |
+class TabNavigation; |
+ |
+enum SessionWindow_BrowserType { |
+ SessionWindow_BrowserType_TYPE_NORMAL = 1, |
+ SessionWindow_BrowserType_TYPE_POPUP = 2 |
+}; |
+bool SessionWindow_BrowserType_IsValid(int value); |
+const SessionWindow_BrowserType SessionWindow_BrowserType_BrowserType_MIN = SessionWindow_BrowserType_TYPE_NORMAL; |
+const SessionWindow_BrowserType SessionWindow_BrowserType_BrowserType_MAX = SessionWindow_BrowserType_TYPE_POPUP; |
+const int SessionWindow_BrowserType_BrowserType_ARRAYSIZE = SessionWindow_BrowserType_BrowserType_MAX + 1; |
+ |
+enum TabNavigation_PageTransition { |
+ TabNavigation_PageTransition_LINK = 0, |
+ TabNavigation_PageTransition_TYPED = 1, |
+ TabNavigation_PageTransition_AUTO_BOOKMARK = 2, |
+ TabNavigation_PageTransition_AUTO_SUBFRAME = 3, |
+ TabNavigation_PageTransition_MANUAL_SUBFRAME = 4, |
+ TabNavigation_PageTransition_GENERATED = 5, |
+ TabNavigation_PageTransition_START_PAGE = 6, |
+ TabNavigation_PageTransition_FORM_SUBMIT = 7, |
+ TabNavigation_PageTransition_RELOAD = 8, |
+ TabNavigation_PageTransition_KEYWORD = 9, |
+ TabNavigation_PageTransition_KEYWORD_GENERATED = 10, |
+ TabNavigation_PageTransition_CHAIN_START = 12, |
+ TabNavigation_PageTransition_CHAIN_END = 13 |
+}; |
+bool TabNavigation_PageTransition_IsValid(int value); |
+const TabNavigation_PageTransition TabNavigation_PageTransition_PageTransition_MIN = TabNavigation_PageTransition_LINK; |
+const TabNavigation_PageTransition TabNavigation_PageTransition_PageTransition_MAX = TabNavigation_PageTransition_CHAIN_END; |
+const int TabNavigation_PageTransition_PageTransition_ARRAYSIZE = TabNavigation_PageTransition_PageTransition_MAX + 1; |
+ |
+enum TabNavigation_PageTransitionQualifier { |
+ TabNavigation_PageTransitionQualifier_CLIENT_REDIRECT = 1, |
+ TabNavigation_PageTransitionQualifier_SERVER_REDIRECT = 2 |
+}; |
+bool TabNavigation_PageTransitionQualifier_IsValid(int value); |
+const TabNavigation_PageTransitionQualifier TabNavigation_PageTransitionQualifier_PageTransitionQualifier_MIN = TabNavigation_PageTransitionQualifier_CLIENT_REDIRECT; |
+const TabNavigation_PageTransitionQualifier TabNavigation_PageTransitionQualifier_PageTransitionQualifier_MAX = TabNavigation_PageTransitionQualifier_SERVER_REDIRECT; |
+const int TabNavigation_PageTransitionQualifier_PageTransitionQualifier_ARRAYSIZE = TabNavigation_PageTransitionQualifier_PageTransitionQualifier_MAX + 1; |
+ |
+// =================================================================== |
+ |
+class SessionSpecifics : public ::google::protobuf::MessageLite { |
+ public: |
+ SessionSpecifics(); |
+ virtual ~SessionSpecifics(); |
+ |
+ SessionSpecifics(const SessionSpecifics& from); |
+ |
+ inline SessionSpecifics& operator=(const SessionSpecifics& 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 SessionSpecifics& default_instance(); |
+ |
+ void Swap(SessionSpecifics* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ SessionSpecifics* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const SessionSpecifics& from); |
+ void MergeFrom(const SessionSpecifics& 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 session_tag = 1; |
+ inline bool has_session_tag() const; |
+ inline void clear_session_tag(); |
+ static const int kSessionTagFieldNumber = 1; |
+ inline const ::std::string& session_tag() const; |
+ inline void set_session_tag(const ::std::string& value); |
+ inline void set_session_tag(const char* value); |
+ inline void set_session_tag(const char* value, size_t size); |
+ inline ::std::string* mutable_session_tag(); |
+ |
+ // repeated .sync_pb.SessionWindow session_window = 2; |
+ inline int session_window_size() const; |
+ inline void clear_session_window(); |
+ static const int kSessionWindowFieldNumber = 2; |
+ inline const ::sync_pb::SessionWindow& session_window(int index) const; |
+ inline ::sync_pb::SessionWindow* mutable_session_window(int index); |
+ inline ::sync_pb::SessionWindow* add_session_window(); |
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionWindow >& |
+ session_window() const; |
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionWindow >* |
+ mutable_session_window(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.SessionSpecifics) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::std::string* session_tag_; |
+ static const ::std::string _default_session_tag_; |
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionWindow > session_window_; |
+ friend void protobuf_AddDesc_session_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_session_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_session_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 SessionSpecifics* default_instance_; |
+}; |
+// ------------------------------------------------------------------- |
+ |
+class SessionWindow : public ::google::protobuf::MessageLite { |
+ public: |
+ SessionWindow(); |
+ virtual ~SessionWindow(); |
+ |
+ SessionWindow(const SessionWindow& from); |
+ |
+ inline SessionWindow& operator=(const SessionWindow& 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 SessionWindow& default_instance(); |
+ |
+ void Swap(SessionWindow* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ SessionWindow* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const SessionWindow& from); |
+ void MergeFrom(const SessionWindow& 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 ---------------------------------------------------- |
+ |
+ typedef SessionWindow_BrowserType BrowserType; |
+ static const BrowserType TYPE_NORMAL = SessionWindow_BrowserType_TYPE_NORMAL; |
+ static const BrowserType TYPE_POPUP = SessionWindow_BrowserType_TYPE_POPUP; |
+ static inline bool BrowserType_IsValid(int value) { |
+ return SessionWindow_BrowserType_IsValid(value); |
+ } |
+ static const BrowserType BrowserType_MIN = |
+ SessionWindow_BrowserType_BrowserType_MIN; |
+ static const BrowserType BrowserType_MAX = |
+ SessionWindow_BrowserType_BrowserType_MAX; |
+ static const int BrowserType_ARRAYSIZE = |
+ SessionWindow_BrowserType_BrowserType_ARRAYSIZE; |
+ |
+ // accessors ------------------------------------------------------- |
+ |
+ // optional int32 selected_tab_index = 2 [default = -1]; |
+ inline bool has_selected_tab_index() const; |
+ inline void clear_selected_tab_index(); |
+ static const int kSelectedTabIndexFieldNumber = 2; |
+ inline ::google::protobuf::int32 selected_tab_index() const; |
+ inline void set_selected_tab_index(::google::protobuf::int32 value); |
+ |
+ // optional .sync_pb.SessionWindow.BrowserType browser_type = 3 [default = TYPE_NORMAL]; |
+ inline bool has_browser_type() const; |
+ inline void clear_browser_type(); |
+ static const int kBrowserTypeFieldNumber = 3; |
+ inline ::sync_pb::SessionWindow_BrowserType browser_type() const; |
+ inline void set_browser_type(::sync_pb::SessionWindow_BrowserType value); |
+ |
+ // repeated .sync_pb.SessionTab session_tab = 4; |
+ inline int session_tab_size() const; |
+ inline void clear_session_tab(); |
+ static const int kSessionTabFieldNumber = 4; |
+ inline const ::sync_pb::SessionTab& session_tab(int index) const; |
+ inline ::sync_pb::SessionTab* mutable_session_tab(int index); |
+ inline ::sync_pb::SessionTab* add_session_tab(); |
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionTab >& |
+ session_tab() const; |
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionTab >* |
+ mutable_session_tab(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.SessionWindow) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::google::protobuf::int32 selected_tab_index_; |
+ int browser_type_; |
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionTab > session_tab_; |
+ friend void protobuf_AddDesc_session_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_session_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_session_5fspecifics_2eproto(); |
+ |
+ ::google::protobuf::uint32 _has_bits_[(3 + 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 SessionWindow* default_instance_; |
+}; |
+// ------------------------------------------------------------------- |
+ |
+class SessionTab : public ::google::protobuf::MessageLite { |
+ public: |
+ SessionTab(); |
+ virtual ~SessionTab(); |
+ |
+ SessionTab(const SessionTab& from); |
+ |
+ inline SessionTab& operator=(const SessionTab& 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 SessionTab& default_instance(); |
+ |
+ void Swap(SessionTab* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ SessionTab* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const SessionTab& from); |
+ void MergeFrom(const SessionTab& 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 int32 tab_visual_index = 2 [default = -1]; |
+ inline bool has_tab_visual_index() const; |
+ inline void clear_tab_visual_index(); |
+ static const int kTabVisualIndexFieldNumber = 2; |
+ inline ::google::protobuf::int32 tab_visual_index() const; |
+ inline void set_tab_visual_index(::google::protobuf::int32 value); |
+ |
+ // optional int32 current_navigation_index = 3 [default = -1]; |
+ inline bool has_current_navigation_index() const; |
+ inline void clear_current_navigation_index(); |
+ static const int kCurrentNavigationIndexFieldNumber = 3; |
+ inline ::google::protobuf::int32 current_navigation_index() const; |
+ inline void set_current_navigation_index(::google::protobuf::int32 value); |
+ |
+ // optional bool pinned = 4 [default = false]; |
+ inline bool has_pinned() const; |
+ inline void clear_pinned(); |
+ static const int kPinnedFieldNumber = 4; |
+ inline bool pinned() const; |
+ inline void set_pinned(bool value); |
+ |
+ // optional string extension_app_id = 5; |
+ inline bool has_extension_app_id() const; |
+ inline void clear_extension_app_id(); |
+ static const int kExtensionAppIdFieldNumber = 5; |
+ inline const ::std::string& extension_app_id() const; |
+ inline void set_extension_app_id(const ::std::string& value); |
+ inline void set_extension_app_id(const char* value); |
+ inline void set_extension_app_id(const char* value, size_t size); |
+ inline ::std::string* mutable_extension_app_id(); |
+ |
+ // repeated .sync_pb.TabNavigation navigation = 6; |
+ inline int navigation_size() const; |
+ inline void clear_navigation(); |
+ static const int kNavigationFieldNumber = 6; |
+ inline const ::sync_pb::TabNavigation& navigation(int index) const; |
+ inline ::sync_pb::TabNavigation* mutable_navigation(int index); |
+ inline ::sync_pb::TabNavigation* add_navigation(); |
+ inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::TabNavigation >& |
+ navigation() const; |
+ inline ::google::protobuf::RepeatedPtrField< ::sync_pb::TabNavigation >* |
+ mutable_navigation(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.SessionTab) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::google::protobuf::int32 tab_visual_index_; |
+ ::google::protobuf::int32 current_navigation_index_; |
+ bool pinned_; |
+ ::std::string* extension_app_id_; |
+ static const ::std::string _default_extension_app_id_; |
+ ::google::protobuf::RepeatedPtrField< ::sync_pb::TabNavigation > navigation_; |
+ friend void protobuf_AddDesc_session_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_session_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_session_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 SessionTab* default_instance_; |
+}; |
+// ------------------------------------------------------------------- |
+ |
+class TabNavigation : public ::google::protobuf::MessageLite { |
+ public: |
+ TabNavigation(); |
+ virtual ~TabNavigation(); |
+ |
+ TabNavigation(const TabNavigation& from); |
+ |
+ inline TabNavigation& operator=(const TabNavigation& 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 TabNavigation& default_instance(); |
+ |
+ void Swap(TabNavigation* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ TabNavigation* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const TabNavigation& from); |
+ void MergeFrom(const TabNavigation& 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 ---------------------------------------------------- |
+ |
+ typedef TabNavigation_PageTransition PageTransition; |
+ static const PageTransition LINK = TabNavigation_PageTransition_LINK; |
+ static const PageTransition TYPED = TabNavigation_PageTransition_TYPED; |
+ static const PageTransition AUTO_BOOKMARK = TabNavigation_PageTransition_AUTO_BOOKMARK; |
+ static const PageTransition AUTO_SUBFRAME = TabNavigation_PageTransition_AUTO_SUBFRAME; |
+ static const PageTransition MANUAL_SUBFRAME = TabNavigation_PageTransition_MANUAL_SUBFRAME; |
+ static const PageTransition GENERATED = TabNavigation_PageTransition_GENERATED; |
+ static const PageTransition START_PAGE = TabNavigation_PageTransition_START_PAGE; |
+ static const PageTransition FORM_SUBMIT = TabNavigation_PageTransition_FORM_SUBMIT; |
+ static const PageTransition RELOAD = TabNavigation_PageTransition_RELOAD; |
+ static const PageTransition KEYWORD = TabNavigation_PageTransition_KEYWORD; |
+ static const PageTransition KEYWORD_GENERATED = TabNavigation_PageTransition_KEYWORD_GENERATED; |
+ static const PageTransition CHAIN_START = TabNavigation_PageTransition_CHAIN_START; |
+ static const PageTransition CHAIN_END = TabNavigation_PageTransition_CHAIN_END; |
+ static inline bool PageTransition_IsValid(int value) { |
+ return TabNavigation_PageTransition_IsValid(value); |
+ } |
+ static const PageTransition PageTransition_MIN = |
+ TabNavigation_PageTransition_PageTransition_MIN; |
+ static const PageTransition PageTransition_MAX = |
+ TabNavigation_PageTransition_PageTransition_MAX; |
+ static const int PageTransition_ARRAYSIZE = |
+ TabNavigation_PageTransition_PageTransition_ARRAYSIZE; |
+ |
+ typedef TabNavigation_PageTransitionQualifier PageTransitionQualifier; |
+ static const PageTransitionQualifier CLIENT_REDIRECT = TabNavigation_PageTransitionQualifier_CLIENT_REDIRECT; |
+ static const PageTransitionQualifier SERVER_REDIRECT = TabNavigation_PageTransitionQualifier_SERVER_REDIRECT; |
+ static inline bool PageTransitionQualifier_IsValid(int value) { |
+ return TabNavigation_PageTransitionQualifier_IsValid(value); |
+ } |
+ static const PageTransitionQualifier PageTransitionQualifier_MIN = |
+ TabNavigation_PageTransitionQualifier_PageTransitionQualifier_MIN; |
+ static const PageTransitionQualifier PageTransitionQualifier_MAX = |
+ TabNavigation_PageTransitionQualifier_PageTransitionQualifier_MAX; |
+ static const int PageTransitionQualifier_ARRAYSIZE = |
+ TabNavigation_PageTransitionQualifier_PageTransitionQualifier_ARRAYSIZE; |
+ |
+ // accessors ------------------------------------------------------- |
+ |
+ // optional int32 index = 1 [default = -1]; |
+ inline bool has_index() const; |
+ inline void clear_index(); |
+ static const int kIndexFieldNumber = 1; |
+ inline ::google::protobuf::int32 index() const; |
+ inline void set_index(::google::protobuf::int32 value); |
+ |
+ // optional string virtual_url = 2; |
+ inline bool has_virtual_url() const; |
+ inline void clear_virtual_url(); |
+ static const int kVirtualUrlFieldNumber = 2; |
+ inline const ::std::string& virtual_url() const; |
+ inline void set_virtual_url(const ::std::string& value); |
+ inline void set_virtual_url(const char* value); |
+ inline void set_virtual_url(const char* value, size_t size); |
+ inline ::std::string* mutable_virtual_url(); |
+ |
+ // optional string referrer = 3; |
+ inline bool has_referrer() const; |
+ inline void clear_referrer(); |
+ static const int kReferrerFieldNumber = 3; |
+ inline const ::std::string& referrer() const; |
+ inline void set_referrer(const ::std::string& value); |
+ inline void set_referrer(const char* value); |
+ inline void set_referrer(const char* value, size_t size); |
+ inline ::std::string* mutable_referrer(); |
+ |
+ // optional string title = 4; |
+ inline bool has_title() const; |
+ inline void clear_title(); |
+ static const int kTitleFieldNumber = 4; |
+ inline const ::std::string& title() const; |
+ inline void set_title(const ::std::string& value); |
+ inline void set_title(const char* value); |
+ inline void set_title(const char* value, size_t size); |
+ inline ::std::string* mutable_title(); |
+ |
+ // optional string state = 5; |
+ inline bool has_state() const; |
+ inline void clear_state(); |
+ static const int kStateFieldNumber = 5; |
+ inline const ::std::string& state() const; |
+ inline void set_state(const ::std::string& value); |
+ inline void set_state(const char* value); |
+ inline void set_state(const char* value, size_t size); |
+ inline ::std::string* mutable_state(); |
+ |
+ // optional .sync_pb.TabNavigation.PageTransition page_transition = 6 [default = TYPED]; |
+ inline bool has_page_transition() const; |
+ inline void clear_page_transition(); |
+ static const int kPageTransitionFieldNumber = 6; |
+ inline ::sync_pb::TabNavigation_PageTransition page_transition() const; |
+ inline void set_page_transition(::sync_pb::TabNavigation_PageTransition value); |
+ |
+ // optional .sync_pb.TabNavigation.PageTransitionQualifier navigation_qualifier = 7; |
+ inline bool has_navigation_qualifier() const; |
+ inline void clear_navigation_qualifier(); |
+ static const int kNavigationQualifierFieldNumber = 7; |
+ inline ::sync_pb::TabNavigation_PageTransitionQualifier navigation_qualifier() const; |
+ inline void set_navigation_qualifier(::sync_pb::TabNavigation_PageTransitionQualifier value); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.TabNavigation) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::google::protobuf::int32 index_; |
+ ::std::string* virtual_url_; |
+ static const ::std::string _default_virtual_url_; |
+ ::std::string* referrer_; |
+ static const ::std::string _default_referrer_; |
+ ::std::string* title_; |
+ static const ::std::string _default_title_; |
+ ::std::string* state_; |
+ static const ::std::string _default_state_; |
+ int page_transition_; |
+ int navigation_qualifier_; |
+ friend void protobuf_AddDesc_session_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_session_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_session_5fspecifics_2eproto(); |
+ |
+ ::google::protobuf::uint32 _has_bits_[(7 + 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 TabNavigation* default_instance_; |
+}; |
+// =================================================================== |
+ |
+static const int kSessionFieldNumber = 50119; |
+extern ::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics, |
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::SessionSpecifics >, 11, false > |
+ session; |
+ |
+// =================================================================== |
+ |
+// SessionSpecifics |
+ |
+// optional string session_tag = 1; |
+inline bool SessionSpecifics::has_session_tag() const { |
+ return _has_bit(0); |
+} |
+inline void SessionSpecifics::clear_session_tag() { |
+ if (session_tag_ != &_default_session_tag_) { |
+ session_tag_->clear(); |
+ } |
+ _clear_bit(0); |
+} |
+inline const ::std::string& SessionSpecifics::session_tag() const { |
+ return *session_tag_; |
+} |
+inline void SessionSpecifics::set_session_tag(const ::std::string& value) { |
+ _set_bit(0); |
+ if (session_tag_ == &_default_session_tag_) { |
+ session_tag_ = new ::std::string; |
+ } |
+ session_tag_->assign(value); |
+} |
+inline void SessionSpecifics::set_session_tag(const char* value) { |
+ _set_bit(0); |
+ if (session_tag_ == &_default_session_tag_) { |
+ session_tag_ = new ::std::string; |
+ } |
+ session_tag_->assign(value); |
+} |
+inline void SessionSpecifics::set_session_tag(const char* value, size_t size) { |
+ _set_bit(0); |
+ if (session_tag_ == &_default_session_tag_) { |
+ session_tag_ = new ::std::string; |
+ } |
+ session_tag_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* SessionSpecifics::mutable_session_tag() { |
+ _set_bit(0); |
+ if (session_tag_ == &_default_session_tag_) { |
+ session_tag_ = new ::std::string; |
+ } |
+ return session_tag_; |
+} |
+ |
+// repeated .sync_pb.SessionWindow session_window = 2; |
+inline int SessionSpecifics::session_window_size() const { |
+ return session_window_.size(); |
+} |
+inline void SessionSpecifics::clear_session_window() { |
+ session_window_.Clear(); |
+} |
+inline const ::sync_pb::SessionWindow& SessionSpecifics::session_window(int index) const { |
+ return session_window_.Get(index); |
+} |
+inline ::sync_pb::SessionWindow* SessionSpecifics::mutable_session_window(int index) { |
+ return session_window_.Mutable(index); |
+} |
+inline ::sync_pb::SessionWindow* SessionSpecifics::add_session_window() { |
+ return session_window_.Add(); |
+} |
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionWindow >& |
+SessionSpecifics::session_window() const { |
+ return session_window_; |
+} |
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionWindow >* |
+SessionSpecifics::mutable_session_window() { |
+ return &session_window_; |
+} |
+ |
+// ------------------------------------------------------------------- |
+ |
+// SessionWindow |
+ |
+// optional int32 selected_tab_index = 2 [default = -1]; |
+inline bool SessionWindow::has_selected_tab_index() const { |
+ return _has_bit(0); |
+} |
+inline void SessionWindow::clear_selected_tab_index() { |
+ selected_tab_index_ = -1; |
+ _clear_bit(0); |
+} |
+inline ::google::protobuf::int32 SessionWindow::selected_tab_index() const { |
+ return selected_tab_index_; |
+} |
+inline void SessionWindow::set_selected_tab_index(::google::protobuf::int32 value) { |
+ _set_bit(0); |
+ selected_tab_index_ = value; |
+} |
+ |
+// optional .sync_pb.SessionWindow.BrowserType browser_type = 3 [default = TYPE_NORMAL]; |
+inline bool SessionWindow::has_browser_type() const { |
+ return _has_bit(1); |
+} |
+inline void SessionWindow::clear_browser_type() { |
+ browser_type_ = 1; |
+ _clear_bit(1); |
+} |
+inline ::sync_pb::SessionWindow_BrowserType SessionWindow::browser_type() const { |
+ return static_cast< ::sync_pb::SessionWindow_BrowserType >(browser_type_); |
+} |
+inline void SessionWindow::set_browser_type(::sync_pb::SessionWindow_BrowserType value) { |
+ GOOGLE_DCHECK(::sync_pb::SessionWindow_BrowserType_IsValid(value)); |
+ _set_bit(1); |
+ browser_type_ = value; |
+} |
+ |
+// repeated .sync_pb.SessionTab session_tab = 4; |
+inline int SessionWindow::session_tab_size() const { |
+ return session_tab_.size(); |
+} |
+inline void SessionWindow::clear_session_tab() { |
+ session_tab_.Clear(); |
+} |
+inline const ::sync_pb::SessionTab& SessionWindow::session_tab(int index) const { |
+ return session_tab_.Get(index); |
+} |
+inline ::sync_pb::SessionTab* SessionWindow::mutable_session_tab(int index) { |
+ return session_tab_.Mutable(index); |
+} |
+inline ::sync_pb::SessionTab* SessionWindow::add_session_tab() { |
+ return session_tab_.Add(); |
+} |
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionTab >& |
+SessionWindow::session_tab() const { |
+ return session_tab_; |
+} |
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::SessionTab >* |
+SessionWindow::mutable_session_tab() { |
+ return &session_tab_; |
+} |
+ |
+// ------------------------------------------------------------------- |
+ |
+// SessionTab |
+ |
+// optional int32 tab_visual_index = 2 [default = -1]; |
+inline bool SessionTab::has_tab_visual_index() const { |
+ return _has_bit(0); |
+} |
+inline void SessionTab::clear_tab_visual_index() { |
+ tab_visual_index_ = -1; |
+ _clear_bit(0); |
+} |
+inline ::google::protobuf::int32 SessionTab::tab_visual_index() const { |
+ return tab_visual_index_; |
+} |
+inline void SessionTab::set_tab_visual_index(::google::protobuf::int32 value) { |
+ _set_bit(0); |
+ tab_visual_index_ = value; |
+} |
+ |
+// optional int32 current_navigation_index = 3 [default = -1]; |
+inline bool SessionTab::has_current_navigation_index() const { |
+ return _has_bit(1); |
+} |
+inline void SessionTab::clear_current_navigation_index() { |
+ current_navigation_index_ = -1; |
+ _clear_bit(1); |
+} |
+inline ::google::protobuf::int32 SessionTab::current_navigation_index() const { |
+ return current_navigation_index_; |
+} |
+inline void SessionTab::set_current_navigation_index(::google::protobuf::int32 value) { |
+ _set_bit(1); |
+ current_navigation_index_ = value; |
+} |
+ |
+// optional bool pinned = 4 [default = false]; |
+inline bool SessionTab::has_pinned() const { |
+ return _has_bit(2); |
+} |
+inline void SessionTab::clear_pinned() { |
+ pinned_ = false; |
+ _clear_bit(2); |
+} |
+inline bool SessionTab::pinned() const { |
+ return pinned_; |
+} |
+inline void SessionTab::set_pinned(bool value) { |
+ _set_bit(2); |
+ pinned_ = value; |
+} |
+ |
+// optional string extension_app_id = 5; |
+inline bool SessionTab::has_extension_app_id() const { |
+ return _has_bit(3); |
+} |
+inline void SessionTab::clear_extension_app_id() { |
+ if (extension_app_id_ != &_default_extension_app_id_) { |
+ extension_app_id_->clear(); |
+ } |
+ _clear_bit(3); |
+} |
+inline const ::std::string& SessionTab::extension_app_id() const { |
+ return *extension_app_id_; |
+} |
+inline void SessionTab::set_extension_app_id(const ::std::string& value) { |
+ _set_bit(3); |
+ if (extension_app_id_ == &_default_extension_app_id_) { |
+ extension_app_id_ = new ::std::string; |
+ } |
+ extension_app_id_->assign(value); |
+} |
+inline void SessionTab::set_extension_app_id(const char* value) { |
+ _set_bit(3); |
+ if (extension_app_id_ == &_default_extension_app_id_) { |
+ extension_app_id_ = new ::std::string; |
+ } |
+ extension_app_id_->assign(value); |
+} |
+inline void SessionTab::set_extension_app_id(const char* value, size_t size) { |
+ _set_bit(3); |
+ if (extension_app_id_ == &_default_extension_app_id_) { |
+ extension_app_id_ = new ::std::string; |
+ } |
+ extension_app_id_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* SessionTab::mutable_extension_app_id() { |
+ _set_bit(3); |
+ if (extension_app_id_ == &_default_extension_app_id_) { |
+ extension_app_id_ = new ::std::string; |
+ } |
+ return extension_app_id_; |
+} |
+ |
+// repeated .sync_pb.TabNavigation navigation = 6; |
+inline int SessionTab::navigation_size() const { |
+ return navigation_.size(); |
+} |
+inline void SessionTab::clear_navigation() { |
+ navigation_.Clear(); |
+} |
+inline const ::sync_pb::TabNavigation& SessionTab::navigation(int index) const { |
+ return navigation_.Get(index); |
+} |
+inline ::sync_pb::TabNavigation* SessionTab::mutable_navigation(int index) { |
+ return navigation_.Mutable(index); |
+} |
+inline ::sync_pb::TabNavigation* SessionTab::add_navigation() { |
+ return navigation_.Add(); |
+} |
+inline const ::google::protobuf::RepeatedPtrField< ::sync_pb::TabNavigation >& |
+SessionTab::navigation() const { |
+ return navigation_; |
+} |
+inline ::google::protobuf::RepeatedPtrField< ::sync_pb::TabNavigation >* |
+SessionTab::mutable_navigation() { |
+ return &navigation_; |
+} |
+ |
+// ------------------------------------------------------------------- |
+ |
+// TabNavigation |
+ |
+// optional int32 index = 1 [default = -1]; |
+inline bool TabNavigation::has_index() const { |
+ return _has_bit(0); |
+} |
+inline void TabNavigation::clear_index() { |
+ index_ = -1; |
+ _clear_bit(0); |
+} |
+inline ::google::protobuf::int32 TabNavigation::index() const { |
+ return index_; |
+} |
+inline void TabNavigation::set_index(::google::protobuf::int32 value) { |
+ _set_bit(0); |
+ index_ = value; |
+} |
+ |
+// optional string virtual_url = 2; |
+inline bool TabNavigation::has_virtual_url() const { |
+ return _has_bit(1); |
+} |
+inline void TabNavigation::clear_virtual_url() { |
+ if (virtual_url_ != &_default_virtual_url_) { |
+ virtual_url_->clear(); |
+ } |
+ _clear_bit(1); |
+} |
+inline const ::std::string& TabNavigation::virtual_url() const { |
+ return *virtual_url_; |
+} |
+inline void TabNavigation::set_virtual_url(const ::std::string& value) { |
+ _set_bit(1); |
+ if (virtual_url_ == &_default_virtual_url_) { |
+ virtual_url_ = new ::std::string; |
+ } |
+ virtual_url_->assign(value); |
+} |
+inline void TabNavigation::set_virtual_url(const char* value) { |
+ _set_bit(1); |
+ if (virtual_url_ == &_default_virtual_url_) { |
+ virtual_url_ = new ::std::string; |
+ } |
+ virtual_url_->assign(value); |
+} |
+inline void TabNavigation::set_virtual_url(const char* value, size_t size) { |
+ _set_bit(1); |
+ if (virtual_url_ == &_default_virtual_url_) { |
+ virtual_url_ = new ::std::string; |
+ } |
+ virtual_url_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* TabNavigation::mutable_virtual_url() { |
+ _set_bit(1); |
+ if (virtual_url_ == &_default_virtual_url_) { |
+ virtual_url_ = new ::std::string; |
+ } |
+ return virtual_url_; |
+} |
+ |
+// optional string referrer = 3; |
+inline bool TabNavigation::has_referrer() const { |
+ return _has_bit(2); |
+} |
+inline void TabNavigation::clear_referrer() { |
+ if (referrer_ != &_default_referrer_) { |
+ referrer_->clear(); |
+ } |
+ _clear_bit(2); |
+} |
+inline const ::std::string& TabNavigation::referrer() const { |
+ return *referrer_; |
+} |
+inline void TabNavigation::set_referrer(const ::std::string& value) { |
+ _set_bit(2); |
+ if (referrer_ == &_default_referrer_) { |
+ referrer_ = new ::std::string; |
+ } |
+ referrer_->assign(value); |
+} |
+inline void TabNavigation::set_referrer(const char* value) { |
+ _set_bit(2); |
+ if (referrer_ == &_default_referrer_) { |
+ referrer_ = new ::std::string; |
+ } |
+ referrer_->assign(value); |
+} |
+inline void TabNavigation::set_referrer(const char* value, size_t size) { |
+ _set_bit(2); |
+ if (referrer_ == &_default_referrer_) { |
+ referrer_ = new ::std::string; |
+ } |
+ referrer_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* TabNavigation::mutable_referrer() { |
+ _set_bit(2); |
+ if (referrer_ == &_default_referrer_) { |
+ referrer_ = new ::std::string; |
+ } |
+ return referrer_; |
+} |
+ |
+// optional string title = 4; |
+inline bool TabNavigation::has_title() const { |
+ return _has_bit(3); |
+} |
+inline void TabNavigation::clear_title() { |
+ if (title_ != &_default_title_) { |
+ title_->clear(); |
+ } |
+ _clear_bit(3); |
+} |
+inline const ::std::string& TabNavigation::title() const { |
+ return *title_; |
+} |
+inline void TabNavigation::set_title(const ::std::string& value) { |
+ _set_bit(3); |
+ if (title_ == &_default_title_) { |
+ title_ = new ::std::string; |
+ } |
+ title_->assign(value); |
+} |
+inline void TabNavigation::set_title(const char* value) { |
+ _set_bit(3); |
+ if (title_ == &_default_title_) { |
+ title_ = new ::std::string; |
+ } |
+ title_->assign(value); |
+} |
+inline void TabNavigation::set_title(const char* value, size_t size) { |
+ _set_bit(3); |
+ if (title_ == &_default_title_) { |
+ title_ = new ::std::string; |
+ } |
+ title_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* TabNavigation::mutable_title() { |
+ _set_bit(3); |
+ if (title_ == &_default_title_) { |
+ title_ = new ::std::string; |
+ } |
+ return title_; |
+} |
+ |
+// optional string state = 5; |
+inline bool TabNavigation::has_state() const { |
+ return _has_bit(4); |
+} |
+inline void TabNavigation::clear_state() { |
+ if (state_ != &_default_state_) { |
+ state_->clear(); |
+ } |
+ _clear_bit(4); |
+} |
+inline const ::std::string& TabNavigation::state() const { |
+ return *state_; |
+} |
+inline void TabNavigation::set_state(const ::std::string& value) { |
+ _set_bit(4); |
+ if (state_ == &_default_state_) { |
+ state_ = new ::std::string; |
+ } |
+ state_->assign(value); |
+} |
+inline void TabNavigation::set_state(const char* value) { |
+ _set_bit(4); |
+ if (state_ == &_default_state_) { |
+ state_ = new ::std::string; |
+ } |
+ state_->assign(value); |
+} |
+inline void TabNavigation::set_state(const char* value, size_t size) { |
+ _set_bit(4); |
+ if (state_ == &_default_state_) { |
+ state_ = new ::std::string; |
+ } |
+ state_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* TabNavigation::mutable_state() { |
+ _set_bit(4); |
+ if (state_ == &_default_state_) { |
+ state_ = new ::std::string; |
+ } |
+ return state_; |
+} |
+ |
+// optional .sync_pb.TabNavigation.PageTransition page_transition = 6 [default = TYPED]; |
+inline bool TabNavigation::has_page_transition() const { |
+ return _has_bit(5); |
+} |
+inline void TabNavigation::clear_page_transition() { |
+ page_transition_ = 1; |
+ _clear_bit(5); |
+} |
+inline ::sync_pb::TabNavigation_PageTransition TabNavigation::page_transition() const { |
+ return static_cast< ::sync_pb::TabNavigation_PageTransition >(page_transition_); |
+} |
+inline void TabNavigation::set_page_transition(::sync_pb::TabNavigation_PageTransition value) { |
+ GOOGLE_DCHECK(::sync_pb::TabNavigation_PageTransition_IsValid(value)); |
+ _set_bit(5); |
+ page_transition_ = value; |
+} |
+ |
+// optional .sync_pb.TabNavigation.PageTransitionQualifier navigation_qualifier = 7; |
+inline bool TabNavigation::has_navigation_qualifier() const { |
+ return _has_bit(6); |
+} |
+inline void TabNavigation::clear_navigation_qualifier() { |
+ navigation_qualifier_ = 1; |
+ _clear_bit(6); |
+} |
+inline ::sync_pb::TabNavigation_PageTransitionQualifier TabNavigation::navigation_qualifier() const { |
+ return static_cast< ::sync_pb::TabNavigation_PageTransitionQualifier >(navigation_qualifier_); |
+} |
+inline void TabNavigation::set_navigation_qualifier(::sync_pb::TabNavigation_PageTransitionQualifier value) { |
+ GOOGLE_DCHECK(::sync_pb::TabNavigation_PageTransitionQualifier_IsValid(value)); |
+ _set_bit(6); |
+ navigation_qualifier_ = value; |
+} |
+ |
+ |
+// @@protoc_insertion_point(namespace_scope) |
+ |
+} // namespace sync_pb |
+ |
+// @@protoc_insertion_point(global_scope) |
+ |
+#endif // PROTOBUF_session_5fspecifics_2eproto__INCLUDED |