weblayer_assistant_field_trial_util.h 878 B

12345678910111213141516171819202122
  1. // Copyright 2022 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 WEBLAYER_BROWSER_AUTOFILL_ASSISTANT_WEBLAYER_ASSISTANT_FIELD_TRIAL_UTIL_H_
  5. #define WEBLAYER_BROWSER_AUTOFILL_ASSISTANT_WEBLAYER_ASSISTANT_FIELD_TRIAL_UTIL_H_
  6. #include "base/strings/string_piece.h"
  7. #include "components/autofill_assistant/browser/assistant_field_trial_util.h"
  8. namespace weblayer {
  9. // Provides field trial utils for WebLayer.
  10. class WebLayerAssistantFieldTrialUtil
  11. : public ::autofill_assistant::AssistantFieldTrialUtil {
  12. bool RegisterSyntheticFieldTrial(base::StringPiece trial_name,
  13. base::StringPiece group_name) const override;
  14. };
  15. } // namespace weblayer
  16. #endif // WEBLAYER_BROWSER_AUTOFILL_ASSISTANT_WEBLAYER_ASSISTANT_FIELD_TRIAL_UTIL_H_