// Copyright 2015 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_SAFE_BROWSING_CORE_BROWSER_DB_TEST_DATABASE_MANAGER_H_ #define COMPONENTS_SAFE_BROWSING_CORE_BROWSER_DB_TEST_DATABASE_MANAGER_H_ #include <set> #include <string> #include <vector> #include "base/task/sequenced_task_runner.h" #include "components/safe_browsing/core/browser/db/database_manager.h" #include "components/safe_browsing/core/browser/db/v4_protocol_manager_util.h" namespace safe_browsing { // This is a non-pure-virtual implementation of the SafeBrowsingDatabaseManager // interface. It's used in tests by overriding only the functions that get // called, and it'll complain if you call one that isn't overriden. The // non-abstract methods in the base class are not overridden. class TestSafeBrowsingDatabaseManager : public SafeBrowsingDatabaseManager { … }; } // namespace safe_browsing #endif // COMPONENTS_SAFE_BROWSING_CORE_BROWSER_DB_TEST_DATABASE_MANAGER_H_