// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_OPTIMIZATION_GUIDE_CORE_TEST_HINTS_COMPONENT_CREATOR_H_ #define COMPONENTS_OPTIMIZATION_GUIDE_CORE_TEST_HINTS_COMPONENT_CREATOR_H_ #include <string> #include <vector> #include "base/files/file_path.h" #include "base/files/scoped_temp_dir.h" #include "components/optimization_guide/proto/hints.pb.h" namespace optimization_guide { struct HintsComponentInfo; namespace testing { // Helper class to create test OptimizationHints components for testing. // // All temporary files and paths are cleaned up when this instance goes out of // scope. class TestHintsComponentCreator { … }; } // namespace testing } // namespace optimization_guide #endif // COMPONENTS_OPTIMIZATION_GUIDE_CORE_TEST_HINTS_COMPONENT_CREATOR_H_