// Copyright 2020 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_OMNIBOX_BROWSER_INTRANET_REDIRECTOR_STATE_H_ #define COMPONENTS_OMNIBOX_BROWSER_INTRANET_REDIRECTOR_STATE_H_ #include "components/prefs/pref_service.h" namespace omnibox { // Settings values for intranet redirection and did-you-mean infobars. enum class IntranetRedirectorBehavior { … }; // Returns the current behavior of the redirect detector feature. // Defined by policy for enterprises; disabled for non-enterprises. IntranetRedirectorBehavior GetInterceptionChecksBehavior( const PrefService* prefs); } // namespace omnibox #endif // COMPONENTS_OMNIBOX_BROWSER_INTRANET_REDIRECTOR_STATE_H_