// Copyright 2019 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_REALTIME_POLICY_ENGINE_H_ #define COMPONENTS_SAFE_BROWSING_CORE_BROWSER_REALTIME_POLICY_ENGINE_H_ #include <string> #include "base/functional/callback.h" #include "build/build_config.h" class PrefService; namespace variations { class VariationsService; } namespace safe_browsing { // This class implements the logic to decide whether the real time lookup // feature is enabled for a given user/profile. // TODO(crbug.com/40673388): To make this class build in IOS, remove // browser_context dependency in this class, and replace it with pref_service // and simple_factory_key. class RealTimePolicyEngine { … }; // class RealTimePolicyEngine } // namespace safe_browsing #endif // COMPONENTS_SAFE_BROWSING_CORE_BROWSER_REALTIME_POLICY_ENGINE_H_