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