predictor_config_definitions.h 764 B

12345678910111213141516171819202122
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_ASSIST_RANKER_PREDICTOR_CONFIG_DEFINITIONS_H_
  5. #define COMPONENTS_ASSIST_RANKER_PREDICTOR_CONFIG_DEFINITIONS_H_
  6. #include "base/feature_list.h"
  7. #include "base/metrics/field_trial_params.h"
  8. #include "build/build_config.h"
  9. #include "components/assist_ranker/predictor_config.h"
  10. namespace assist_ranker {
  11. #if BUILDFLAG(IS_ANDROID)
  12. extern const base::Feature kContextualSearchRankerQuery;
  13. const PredictorConfig GetContextualSearchPredictorConfig();
  14. #endif // BUILDFLAG(IS_ANDROID)
  15. } // namespace assist_ranker
  16. #endif // COMPONENTS_ASSIST_RANKER_PREDICTOR_CONFIG_DEFINITIONS_H_