#include "chrome/browser/preloading/prefetch/no_state_prefetch/chrome_no_state_prefetch_manager_delegate.h"
#include "chrome/browser/content_settings/cookie_settings_factory.h"
#include "chrome/browser/predictors/loading_predictor.h"
#include "chrome/browser/predictors/loading_predictor_factory.h"
#include "chrome/browser/preloading/prefetch/no_state_prefetch/chrome_no_state_prefetch_contents_delegate.h"
#include "chrome/browser/preloading/preloading_prefs.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_features.h"
#include "components/content_settings/core/browser/cookie_settings.h"
#include "components/no_state_prefetch/browser/no_state_prefetch_manager_delegate.h"
#include "content/public/browser/browser_thread.h"
namespace prerender {
ChromeNoStatePrefetchManagerDelegate::ChromeNoStatePrefetchManagerDelegate(
Profile* profile)
: … { … }
scoped_refptr<content_settings::CookieSettings>
ChromeNoStatePrefetchManagerDelegate::GetCookieSettings() { … }
void ChromeNoStatePrefetchManagerDelegate::MaybePreconnect(const GURL& url) { … }
std::unique_ptr<NoStatePrefetchContentsDelegate>
ChromeNoStatePrefetchManagerDelegate::GetNoStatePrefetchContentsDelegate() { … }
bool ChromeNoStatePrefetchManagerDelegate::
IsNetworkPredictionPreferenceEnabled() { … }
std::string
ChromeNoStatePrefetchManagerDelegate::GetReasonForDisablingPrediction() { … }
}