#ifndef CHROME_BROWSER_OPTIMIZATION_GUIDE_BROWSER_TEST_UTIL_H_
#define CHROME_BROWSER_OPTIMIZATION_GUIDE_BROWSER_TEST_UTIL_H_
#include <string>
#include "base/functional/callback.h"
#include "chrome/browser/optimization_guide/optimization_guide_keyed_service.h"
#include "components/optimization_guide/proto/models.pb.h"
class Profile;
namespace base {
class HistogramTester;
}
namespace optimization_guide {
int RetryForHistogramUntilCountReached(
const base::HistogramTester* histogram_tester,
const std::string& histogram_name,
int count);
std::unique_ptr<optimization_guide::proto::GetModelsResponse>
BuildGetModelsResponse();
void EnableSigninAndModelExecutionCapability(Profile* profile);
class ModelFileObserver : public OptimizationTargetModelObserver { … };
}
#endif