// Copyright 2022 The Chromium Authors. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_ANALYSIS_DEMO_REQUST_QUEUE_H_ #define CONTENT_ANALYSIS_DEMO_REQUST_QUEUE_H_ #include <condition_variable> #include <memory> #include <mutex> #include <queue> #include "content_analysis/sdk/analysis_agent.h" // This class maintains a list of outstanding content analysis requests to // process. Each request is encapsulated in one ContentAnalysisEvent. // Requests are handled in FIFO order. class RequestQueue { … }; #endif // CONTENT_ANALYSIS_DEMO_REQUST_QUEUE_H_