#include "components/continuous_search/browser/search_result_extractor_client.h"
#include "base/strings/utf_string_conversions.h"
#include "components/continuous_search/common/title_validator.h"
#include "components/google/core/common/google_util.h"
#include "content/public/browser/web_contents.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_provider.h"
namespace continuous_search {
namespace {
SearchResultExtractorClientStatus ToSearchResultExtractorClientStatus(
mojom::SearchResultExtractor::Status status) { … }
}
SearchResultExtractorClient::SearchResultExtractorClient(bool test_mode)
: … { … }
SearchResultExtractorClient::~SearchResultExtractorClient() = default;
void SearchResultExtractorClient::RequestData(
content::WebContents* web_contents,
const std::vector<mojom::ResultType>& result_types,
RequestDataCallback callback) { … }
void SearchResultExtractorClient::RequestDataCallbackAdapter(
mojo::AssociatedRemote<mojom::SearchResultExtractor> extractor,
const GURL& url,
RequestDataCallback callback,
mojom::SearchResultExtractor::Status status,
mojom::CategoryResultsPtr results) { … }
}