#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "chrome/browser/ui/webui/tab_search/tab_search.mojom.h"
#include <math.h>
#include <stdint.h>
#include <utility>
#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "chrome/browser/ui/webui/tab_search/tab_search.mojom-params-data.h"
#include "chrome/browser/ui/webui/tab_search/tab_search.mojom-shared-message-ids.h"
#include "chrome/browser/ui/webui/tab_search/tab_search.mojom-import-headers.h"
#include "chrome/browser/ui/webui/tab_search/tab_search.mojom-test-utils.h"
namespace tab_search::mojom {
ProfileData::ProfileData()
: … { … }
ProfileData::ProfileData(
std::vector<WindowPtr> windows_in,
std::vector<TabGroupPtr> tab_groups_in,
std::vector<RecentlyClosedTabPtr> recently_closed_tabs_in,
std::vector<RecentlyClosedTabGroupPtr> recently_closed_tab_groups_in,
bool recently_closed_section_expanded_in)
: … { … }
ProfileData::~ProfileData() = default;
void ProfileData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool ProfileData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Window::Window()
: … { … }
Window::Window(
bool active_in,
uint32_t height_in,
std::vector<TabPtr> tabs_in)
: … { … }
Window::~Window() = default;
void Window::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool Window::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Tab::Tab()
: … { … }
Tab::Tab(
bool active_in,
std::vector<::TabAlertState> alert_states_in,
int32_t index_in,
int32_t tab_id_in,
const std::optional<::base::Token>& group_id_in,
bool pinned_in,
const std::string& title_in,
const ::GURL& url_in,
const std::optional<::GURL>& favicon_url_in,
bool is_default_favicon_in,
bool show_icon_in,
::base::TimeTicks last_active_time_ticks_in,
const std::string& last_active_elapsed_text_in)
: … { … }
Tab::~Tab() = default;
void Tab::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool Tab::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RecentlyClosedTab::RecentlyClosedTab()
: … { … }
RecentlyClosedTab::RecentlyClosedTab(
int32_t tab_id_in,
const std::optional<::base::Token>& group_id_in,
const std::string& title_in,
const ::GURL& url_in,
::base::Time last_active_time_in,
const std::string& last_active_elapsed_text_in)
: … { … }
RecentlyClosedTab::~RecentlyClosedTab() = default;
void RecentlyClosedTab::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool RecentlyClosedTab::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TabGroup::TabGroup()
: … { … }
TabGroup::TabGroup(
const ::base::Token& id_in,
::tab_groups::TabGroupColorId color_in,
const std::string& title_in)
: … { … }
TabGroup::~TabGroup() = default;
void TabGroup::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool TabGroup::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
RecentlyClosedTabGroup::RecentlyClosedTabGroup()
: … { … }
RecentlyClosedTabGroup::RecentlyClosedTabGroup(
int32_t session_id_in,
const ::base::Token& id_in,
::tab_groups::TabGroupColorId color_in,
const std::string& title_in,
uint32_t tab_count_in,
::base::Time last_active_time_in,
const std::string& last_active_elapsed_text_in)
: … { … }
RecentlyClosedTabGroup::~RecentlyClosedTabGroup() = default;
void RecentlyClosedTabGroup::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool RecentlyClosedTabGroup::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SwitchToTabInfo::SwitchToTabInfo()
: … { … }
SwitchToTabInfo::SwitchToTabInfo(
int32_t tab_id_in)
: … { … }
SwitchToTabInfo::~SwitchToTabInfo() = default;
size_t SwitchToTabInfo::Hash(size_t seed) const { … }
void SwitchToTabInfo::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool SwitchToTabInfo::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TabOrganization::TabOrganization()
: … { … }
TabOrganization::TabOrganization(
int32_t organization_id_in,
std::vector<TabPtr> tabs_in,
int32_t first_new_tab_index_in,
const ::std::u16string& name_in)
: … { … }
TabOrganization::~TabOrganization() = default;
void TabOrganization::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool TabOrganization::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TabOrganizationSession::TabOrganizationSession()
: … { … }
TabOrganizationSession::TabOrganizationSession(
int32_t session_id_in,
TabOrganizationState state_in,
std::vector<TabOrganizationPtr> organizations_in,
TabOrganizationError error_in,
int32_t active_tab_id_in)
: … { … }
TabOrganizationSession::~TabOrganizationSession() = default;
void TabOrganizationSession::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool TabOrganizationSession::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TabUpdateInfo::TabUpdateInfo()
: … { … }
TabUpdateInfo::TabUpdateInfo(
bool in_active_window_in,
TabPtr tab_in)
: … { … }
TabUpdateInfo::~TabUpdateInfo() = default;
void TabUpdateInfo::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool TabUpdateInfo::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TabsRemovedInfo::TabsRemovedInfo()
: … { … }
TabsRemovedInfo::TabsRemovedInfo(
std::vector<int32_t> tab_ids_in,
std::vector<RecentlyClosedTabPtr> recently_closed_tabs_in)
: … { … }
TabsRemovedInfo::~TabsRemovedInfo() = default;
void TabsRemovedInfo::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool TabsRemovedInfo::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
const char PageHandlerFactory::Name_[] = …;
PageHandlerFactory::IPCStableHashFunction PageHandlerFactory::MessageToMethodInfo_(mojo::Message& message) { … }
const char* PageHandlerFactory::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t PageHandlerFactory::CreatePageHandler_Sym::IPCStableHash() { … }
# endif
PageHandlerFactoryProxy::PageHandlerFactoryProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void PageHandlerFactoryProxy::CreatePageHandler(
::mojo::PendingRemote<Page> in_page, ::mojo::PendingReceiver<PageHandler> in_handler) { … }
bool PageHandlerFactoryStubDispatch::Accept(
PageHandlerFactory* impl,
mojo::Message* message) { … }
bool PageHandlerFactoryStubDispatch::AcceptWithResponder(
PageHandlerFactory* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kPageHandlerFactoryValidationInfo[] = …;
bool PageHandlerFactoryRequestValidator::Accept(mojo::Message* message) { … }
const char PageHandler::Name_[] = …;
PageHandler::IPCStableHashFunction PageHandler::MessageToMethodInfo_(mojo::Message& message) { … }
const char* PageHandler::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t PageHandler::CloseTab_Sym::IPCStableHash() { … }
uint32_t PageHandler::DeclutterTabs_Sym::IPCStableHash() { … }
uint32_t PageHandler::AcceptTabOrganization_Sym::IPCStableHash() { … }
uint32_t PageHandler::RejectTabOrganization_Sym::IPCStableHash() { … }
uint32_t PageHandler::ExcludeFromStaleTabs_Sym::IPCStableHash() { … }
uint32_t PageHandler::GetProfileData_Sym::IPCStableHash() { … }
uint32_t PageHandler::GetStaleTabs_Sym::IPCStableHash() { … }
uint32_t PageHandler::GetTabOrganizationSession_Sym::IPCStableHash() { … }
uint32_t PageHandler::GetTabOrganizationModelStrategy_Sym::IPCStableHash() { … }
uint32_t PageHandler::SwitchToTab_Sym::IPCStableHash() { … }
uint32_t PageHandler::OpenRecentlyClosedEntry_Sym::IPCStableHash() { … }
uint32_t PageHandler::RequestTabOrganization_Sym::IPCStableHash() { … }
uint32_t PageHandler::RemoveTabFromOrganization_Sym::IPCStableHash() { … }
uint32_t PageHandler::RejectSession_Sym::IPCStableHash() { … }
uint32_t PageHandler::RestartSession_Sym::IPCStableHash() { … }
uint32_t PageHandler::SaveRecentlyClosedExpandedPref_Sym::IPCStableHash() { … }
uint32_t PageHandler::SetTabIndex_Sym::IPCStableHash() { … }
uint32_t PageHandler::StartTabGroupTutorial_Sym::IPCStableHash() { … }
uint32_t PageHandler::TriggerFeedback_Sym::IPCStableHash() { … }
uint32_t PageHandler::TriggerSignIn_Sym::IPCStableHash() { … }
uint32_t PageHandler::OpenHelpPage_Sym::IPCStableHash() { … }
uint32_t PageHandler::SetTabOrganizationModelStrategy_Sym::IPCStableHash() { … }
uint32_t PageHandler::SetUserFeedback_Sym::IPCStableHash() { … }
uint32_t PageHandler::NotifyOrganizationUIReadyToShow_Sym::IPCStableHash() { … }
uint32_t PageHandler::NotifySearchUIReadyToShow_Sym::IPCStableHash() { … }
# endif
class PageHandler_GetProfileData_ForwardToCallback
: public mojo::MessageReceiver { … };
class PageHandler_GetStaleTabs_ForwardToCallback
: public mojo::MessageReceiver { … };
class PageHandler_GetTabOrganizationSession_ForwardToCallback
: public mojo::MessageReceiver { … };
class PageHandler_GetTabOrganizationModelStrategy_ForwardToCallback
: public mojo::MessageReceiver { … };
PageHandlerProxy::PageHandlerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void PageHandlerProxy::CloseTab(
int32_t in_tab_id) { … }
void PageHandlerProxy::DeclutterTabs(
const std::vector<int32_t>& in_tab_ids) { … }
void PageHandlerProxy::AcceptTabOrganization(
int32_t in_session_id, int32_t in_organization_id, const ::std::u16string& in_name, std::vector<TabPtr> in_tabs) { … }
void PageHandlerProxy::RejectTabOrganization(
int32_t in_session_id, int32_t in_organization_id) { … }
void PageHandlerProxy::ExcludeFromStaleTabs(
int32_t in_tab_id) { … }
void PageHandlerProxy::GetProfileData(
GetProfileDataCallback callback) { … }
void PageHandlerProxy::GetStaleTabs(
GetStaleTabsCallback callback) { … }
void PageHandlerProxy::GetTabOrganizationSession(
GetTabOrganizationSessionCallback callback) { … }
void PageHandlerProxy::GetTabOrganizationModelStrategy(
GetTabOrganizationModelStrategyCallback callback) { … }
void PageHandlerProxy::SwitchToTab(
SwitchToTabInfoPtr in_switch_to_tab_info) { … }
void PageHandlerProxy::OpenRecentlyClosedEntry(
int32_t in_session_id) { … }
void PageHandlerProxy::RequestTabOrganization(
) { … }
void PageHandlerProxy::RemoveTabFromOrganization(
int32_t in_session_id, int32_t in_organization_id, TabPtr in_tab) { … }
void PageHandlerProxy::RejectSession(
int32_t in_session_id) { … }
void PageHandlerProxy::RestartSession(
) { … }
void PageHandlerProxy::SaveRecentlyClosedExpandedPref(
bool in_expanded) { … }
void PageHandlerProxy::SetTabIndex(
int32_t in_index) { … }
void PageHandlerProxy::StartTabGroupTutorial(
) { … }
void PageHandlerProxy::TriggerFeedback(
int32_t in_session_id) { … }
void PageHandlerProxy::TriggerSignIn(
) { … }
void PageHandlerProxy::OpenHelpPage(
) { … }
void PageHandlerProxy::SetTabOrganizationModelStrategy(
TabOrganizationModelStrategy in_strategy) { … }
void PageHandlerProxy::SetUserFeedback(
int32_t in_session_id, int32_t in_organization_id, UserFeedback in_feedback) { … }
void PageHandlerProxy::NotifyOrganizationUIReadyToShow(
) { … }
void PageHandlerProxy::NotifySearchUIReadyToShow(
) { … }
class PageHandler_GetProfileData_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool PageHandler_GetProfileData_ForwardToCallback::Accept(
mojo::Message* message) { … }
void PageHandler_GetProfileData_ProxyToResponder::Run(
ProfileDataPtr in_profile_data) { … }
class PageHandler_GetStaleTabs_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool PageHandler_GetStaleTabs_ForwardToCallback::Accept(
mojo::Message* message) { … }
void PageHandler_GetStaleTabs_ProxyToResponder::Run(
std::vector<TabPtr> in_tabs) { … }
class PageHandler_GetTabOrganizationSession_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool PageHandler_GetTabOrganizationSession_ForwardToCallback::Accept(
mojo::Message* message) { … }
void PageHandler_GetTabOrganizationSession_ProxyToResponder::Run(
TabOrganizationSessionPtr in_session) { … }
class PageHandler_GetTabOrganizationModelStrategy_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool PageHandler_GetTabOrganizationModelStrategy_ForwardToCallback::Accept(
mojo::Message* message) { … }
void PageHandler_GetTabOrganizationModelStrategy_ProxyToResponder::Run(
TabOrganizationModelStrategy in_strategy) { … }
bool PageHandlerStubDispatch::Accept(
PageHandler* impl,
mojo::Message* message) { … }
bool PageHandlerStubDispatch::AcceptWithResponder(
PageHandler* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kPageHandlerValidationInfo[] = …;
bool PageHandlerRequestValidator::Accept(mojo::Message* message) { … }
bool PageHandlerResponseValidator::Accept(mojo::Message* message) { … }
const char Page::Name_[] = …;
Page::IPCStableHashFunction Page::MessageToMethodInfo_(mojo::Message& message) { … }
const char* Page::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Page::TabOrganizationSessionUpdated_Sym::IPCStableHash() { … }
uint32_t Page::TabOrganizationModelStrategyUpdated_Sym::IPCStableHash() { … }
uint32_t Page::TabsChanged_Sym::IPCStableHash() { … }
uint32_t Page::TabUpdated_Sym::IPCStableHash() { … }
uint32_t Page::TabsRemoved_Sym::IPCStableHash() { … }
uint32_t Page::TabSearchTabIndexChanged_Sym::IPCStableHash() { … }
uint32_t Page::ShowFREChanged_Sym::IPCStableHash() { … }
uint32_t Page::TabOrganizationEnabledChanged_Sym::IPCStableHash() { … }
uint32_t Page::StaleTabsChanged_Sym::IPCStableHash() { … }
# endif
PageProxy::PageProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void PageProxy::TabOrganizationSessionUpdated(
TabOrganizationSessionPtr in_session) { … }
void PageProxy::TabOrganizationModelStrategyUpdated(
TabOrganizationModelStrategy in_strategy) { … }
void PageProxy::TabsChanged(
ProfileDataPtr in_profile_tabs) { … }
void PageProxy::TabUpdated(
TabUpdateInfoPtr in_tabUpdateInfo) { … }
void PageProxy::TabsRemoved(
TabsRemovedInfoPtr in_tabsRemovedInfo) { … }
void PageProxy::TabSearchTabIndexChanged(
int32_t in_index) { … }
void PageProxy::ShowFREChanged(
bool in_show) { … }
void PageProxy::TabOrganizationEnabledChanged(
bool in_enabled) { … }
void PageProxy::StaleTabsChanged(
std::vector<TabPtr> in_tabs) { … }
bool PageStubDispatch::Accept(
Page* impl,
mojo::Message* message) { … }
bool PageStubDispatch::AcceptWithResponder(
Page* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kPageValidationInfo[] = …;
bool PageRequestValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
bool StructTraits<::tab_search::mojom::ProfileData::DataView, ::tab_search::mojom::ProfileDataPtr>::Read(
::tab_search::mojom::ProfileData::DataView input,
::tab_search::mojom::ProfileDataPtr* output) { … }
bool StructTraits<::tab_search::mojom::Window::DataView, ::tab_search::mojom::WindowPtr>::Read(
::tab_search::mojom::Window::DataView input,
::tab_search::mojom::WindowPtr* output) { … }
bool StructTraits<::tab_search::mojom::Tab::DataView, ::tab_search::mojom::TabPtr>::Read(
::tab_search::mojom::Tab::DataView input,
::tab_search::mojom::TabPtr* output) { … }
bool StructTraits<::tab_search::mojom::RecentlyClosedTab::DataView, ::tab_search::mojom::RecentlyClosedTabPtr>::Read(
::tab_search::mojom::RecentlyClosedTab::DataView input,
::tab_search::mojom::RecentlyClosedTabPtr* output) { … }
bool StructTraits<::tab_search::mojom::TabGroup::DataView, ::tab_search::mojom::TabGroupPtr>::Read(
::tab_search::mojom::TabGroup::DataView input,
::tab_search::mojom::TabGroupPtr* output) { … }
bool StructTraits<::tab_search::mojom::RecentlyClosedTabGroup::DataView, ::tab_search::mojom::RecentlyClosedTabGroupPtr>::Read(
::tab_search::mojom::RecentlyClosedTabGroup::DataView input,
::tab_search::mojom::RecentlyClosedTabGroupPtr* output) { … }
bool StructTraits<::tab_search::mojom::SwitchToTabInfo::DataView, ::tab_search::mojom::SwitchToTabInfoPtr>::Read(
::tab_search::mojom::SwitchToTabInfo::DataView input,
::tab_search::mojom::SwitchToTabInfoPtr* output) { … }
bool StructTraits<::tab_search::mojom::TabOrganization::DataView, ::tab_search::mojom::TabOrganizationPtr>::Read(
::tab_search::mojom::TabOrganization::DataView input,
::tab_search::mojom::TabOrganizationPtr* output) { … }
bool StructTraits<::tab_search::mojom::TabOrganizationSession::DataView, ::tab_search::mojom::TabOrganizationSessionPtr>::Read(
::tab_search::mojom::TabOrganizationSession::DataView input,
::tab_search::mojom::TabOrganizationSessionPtr* output) { … }
bool StructTraits<::tab_search::mojom::TabUpdateInfo::DataView, ::tab_search::mojom::TabUpdateInfoPtr>::Read(
::tab_search::mojom::TabUpdateInfo::DataView input,
::tab_search::mojom::TabUpdateInfoPtr* output) { … }
bool StructTraits<::tab_search::mojom::TabsRemovedInfo::DataView, ::tab_search::mojom::TabsRemovedInfoPtr>::Read(
::tab_search::mojom::TabsRemovedInfo::DataView input,
::tab_search::mojom::TabsRemovedInfoPtr* output) { … }
}
namespace tab_search::mojom {
void PageHandlerFactoryInterceptorForTesting::CreatePageHandler(::mojo::PendingRemote<Page> page, ::mojo::PendingReceiver<PageHandler> handler) { … }
PageHandlerFactoryAsyncWaiter::PageHandlerFactoryAsyncWaiter(
PageHandlerFactory* proxy) : … { … }
PageHandlerFactoryAsyncWaiter::~PageHandlerFactoryAsyncWaiter() = default;
void PageHandlerInterceptorForTesting::CloseTab(int32_t tab_id) { … }
void PageHandlerInterceptorForTesting::DeclutterTabs(const std::vector<int32_t>& tab_ids) { … }
void PageHandlerInterceptorForTesting::AcceptTabOrganization(int32_t session_id, int32_t organization_id, const ::std::u16string& name, std::vector<TabPtr> tabs) { … }
void PageHandlerInterceptorForTesting::RejectTabOrganization(int32_t session_id, int32_t organization_id) { … }
void PageHandlerInterceptorForTesting::ExcludeFromStaleTabs(int32_t tab_id) { … }
void PageHandlerInterceptorForTesting::GetProfileData(GetProfileDataCallback callback) { … }
void PageHandlerInterceptorForTesting::GetStaleTabs(GetStaleTabsCallback callback) { … }
void PageHandlerInterceptorForTesting::GetTabOrganizationSession(GetTabOrganizationSessionCallback callback) { … }
void PageHandlerInterceptorForTesting::GetTabOrganizationModelStrategy(GetTabOrganizationModelStrategyCallback callback) { … }
void PageHandlerInterceptorForTesting::SwitchToTab(SwitchToTabInfoPtr switch_to_tab_info) { … }
void PageHandlerInterceptorForTesting::OpenRecentlyClosedEntry(int32_t session_id) { … }
void PageHandlerInterceptorForTesting::RequestTabOrganization() { … }
void PageHandlerInterceptorForTesting::RemoveTabFromOrganization(int32_t session_id, int32_t organization_id, TabPtr tab) { … }
void PageHandlerInterceptorForTesting::RejectSession(int32_t session_id) { … }
void PageHandlerInterceptorForTesting::RestartSession() { … }
void PageHandlerInterceptorForTesting::SaveRecentlyClosedExpandedPref(bool expanded) { … }
void PageHandlerInterceptorForTesting::SetTabIndex(int32_t index) { … }
void PageHandlerInterceptorForTesting::StartTabGroupTutorial() { … }
void PageHandlerInterceptorForTesting::TriggerFeedback(int32_t session_id) { … }
void PageHandlerInterceptorForTesting::TriggerSignIn() { … }
void PageHandlerInterceptorForTesting::OpenHelpPage() { … }
void PageHandlerInterceptorForTesting::SetTabOrganizationModelStrategy(TabOrganizationModelStrategy strategy) { … }
void PageHandlerInterceptorForTesting::SetUserFeedback(int32_t session_id, int32_t organization_id, UserFeedback feedback) { … }
void PageHandlerInterceptorForTesting::NotifyOrganizationUIReadyToShow() { … }
void PageHandlerInterceptorForTesting::NotifySearchUIReadyToShow() { … }
PageHandlerAsyncWaiter::PageHandlerAsyncWaiter(
PageHandler* proxy) : … { … }
PageHandlerAsyncWaiter::~PageHandlerAsyncWaiter() = default;
void PageHandlerAsyncWaiter::GetProfileData(
ProfileDataPtr* out_profile_data) { … }
ProfileDataPtr PageHandlerAsyncWaiter::GetProfileData(
) { … }
void PageHandlerAsyncWaiter::GetStaleTabs(
std::vector<TabPtr>* out_tabs) { … }
std::vector<TabPtr> PageHandlerAsyncWaiter::GetStaleTabs(
) { … }
void PageHandlerAsyncWaiter::GetTabOrganizationSession(
TabOrganizationSessionPtr* out_session) { … }
TabOrganizationSessionPtr PageHandlerAsyncWaiter::GetTabOrganizationSession(
) { … }
void PageHandlerAsyncWaiter::GetTabOrganizationModelStrategy(
TabOrganizationModelStrategy* out_strategy) { … }
TabOrganizationModelStrategy PageHandlerAsyncWaiter::GetTabOrganizationModelStrategy(
) { … }
void PageInterceptorForTesting::TabOrganizationSessionUpdated(TabOrganizationSessionPtr session) { … }
void PageInterceptorForTesting::TabOrganizationModelStrategyUpdated(TabOrganizationModelStrategy strategy) { … }
void PageInterceptorForTesting::TabsChanged(ProfileDataPtr profile_tabs) { … }
void PageInterceptorForTesting::TabUpdated(TabUpdateInfoPtr tabUpdateInfo) { … }
void PageInterceptorForTesting::TabsRemoved(TabsRemovedInfoPtr tabsRemovedInfo) { … }
void PageInterceptorForTesting::TabSearchTabIndexChanged(int32_t index) { … }
void PageInterceptorForTesting::ShowFREChanged(bool show) { … }
void PageInterceptorForTesting::TabOrganizationEnabledChanged(bool enabled) { … }
void PageInterceptorForTesting::StaleTabsChanged(std::vector<TabPtr> tabs) { … }
PageAsyncWaiter::PageAsyncWaiter(
Page* proxy) : … { … }
PageAsyncWaiter::~PageAsyncWaiter() = default;
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif