chromium/ios/chrome/browser/prerender/model/prerender_pref.h

// 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 IOS_CHROME_BROWSER_PRERENDER_MODEL_PRERENDER_PREF_H_
#define IOS_CHROME_BROWSER_PRERENDER_MODEL_PRERENDER_PREF_H_

namespace prerender_prefs {

// Setting for prerender network prediction.
// Keep these values consistent when changing this enum as it's saved in a pref.
enum class NetworkPredictionSetting {
  kDisabled = 0,
  kEnabledWifiOnly = 1,
  kEnabledWifiAndCellular = 2,
};

}  // namespace prerender_prefs

#endif  // IOS_CHROME_BROWSER_PRERENDER_MODEL_PRERENDER_PREF_H_