#include "third_party/blink/renderer/core/editing/finder/async_find_buffer.h"
#include "base/metrics/histogram_macros.h"
#include "third_party/blink/renderer/core/editing/ephemeral_range.h"
#include "third_party/blink/renderer/core/editing/finder/find_buffer.h"
namespace blink {
namespace {
constexpr base::TimeDelta kFindBufferTaskTimeout = …;
base::TimeDelta g_find_buffer_timeout = …;
}
std::unique_ptr<base::AutoReset<base::TimeDelta>>
AsyncFindBuffer::OverrideTimeoutForTesting(base::TimeDelta timeout_override) { … }
void AsyncFindBuffer::FindMatchInRange(RangeInFlatTree* search_range,
String search_text,
FindOptions options,
Callback completeCallback) { … }
void AsyncFindBuffer::Cancel() { … }
void AsyncFindBuffer::Run(RangeInFlatTree* search_range,
String search_text,
FindOptions options,
Callback completeCallback) { … }
void AsyncFindBuffer::NextIteration(RangeInFlatTree* search_range,
String search_text,
FindOptions options,
Callback completeCallback) { … }
}