aw_field_trials.h 1.0 KB

1234567891011121314151617181920212223242526272829
  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 ANDROID_WEBVIEW_BROWSER_AW_FIELD_TRIALS_H_
  5. #define ANDROID_WEBVIEW_BROWSER_AW_FIELD_TRIALS_H_
  6. #include "components/variations/platform_field_trials.h"
  7. // Responsible for setting up field trials specific to WebView. Currently all
  8. // functions are stubs, as WebView has no specific field trials.
  9. class AwFieldTrials : public variations::PlatformFieldTrials {
  10. public:
  11. AwFieldTrials() = default;
  12. AwFieldTrials(const AwFieldTrials&) = delete;
  13. AwFieldTrials& operator=(const AwFieldTrials&) = delete;
  14. ~AwFieldTrials() override = default;
  15. // variations::PlatformFieldTrials:
  16. void SetUpFieldTrials() override;
  17. void SetUpFeatureControllingFieldTrials(
  18. bool has_seed,
  19. const base::FieldTrial::EntropyProvider* low_entropy_provider,
  20. base::FeatureList* feature_list) override {}
  21. };
  22. #endif // ANDROID_WEBVIEW_BROWSER_AW_FIELD_TRIALS_H_