#include "components/search_engines/search_terms_data.h"
#include <memory>
#include "base/check.h"
#include "base/trace_event/memory_usage_estimator.h"
#include "base/trace_event/trace_event.h"
#include "build/build_config.h"
#include "components/google/core/common/google_util.h"
#include "components/lens/lens_features.h"
#include "url/gurl.h"
namespace {
class SearchTermsDataSnapshot : public SearchTermsData { … };
SearchTermsDataSnapshot::SearchTermsDataSnapshot(
const SearchTermsData* search_terms_data) { … }
SearchTermsDataSnapshot::~SearchTermsDataSnapshot() = default;
std::string SearchTermsDataSnapshot::GoogleBaseURLValue() const { … }
std::string SearchTermsDataSnapshot::GetApplicationLocale() const { … }
std::u16string SearchTermsDataSnapshot::GetRlzParameterValue(
bool from_app_list) const { … }
std::string SearchTermsDataSnapshot::GetSearchClient() const { … }
std::string SearchTermsDataSnapshot::GoogleImageSearchSource() const { … }
size_t SearchTermsDataSnapshot::EstimateMemoryUsage() const { … }
}
std::unique_ptr<SearchTermsData> SearchTermsData::MakeSnapshot(
const SearchTermsData* original_data) { … }
SearchTermsData::SearchTermsData() = default;
SearchTermsData::~SearchTermsData() = default;
std::string SearchTermsData::GoogleBaseURLValue() const { … }
std::string SearchTermsData::GoogleBaseSearchByImageURLValue() const { … }
std::string SearchTermsData::GoogleBaseSuggestURLValue() const { … }
std::string SearchTermsData::GetApplicationLocale() const { … }
std::u16string SearchTermsData::GetRlzParameterValue(bool from_app_list) const { … }
std::string SearchTermsData::GetSearchClient() const { … }
std::string SearchTermsData::GoogleImageSearchSource() const { … }
std::string SearchTermsData::GetYandexReferralID() const { … }
std::string SearchTermsData::GetMailRUReferralID() const { … }
size_t SearchTermsData::EstimateMemoryUsage() const { … }