blob: 7f0556effdcbd4f49f444b5bb9fc5090f2e3d77f [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/preloading/prefetch/prefetch_servable_state.h"
namespace content {
CONTENT_EXPORT std::ostream& operator<<(std::ostream& ostream,
PrefetchServableState servable_state) {
switch (servable_state) {
case PrefetchServableState::kNotServable:
return ostream << "NotServable";
case PrefetchServableState::kServable:
return ostream << "Servable";
case PrefetchServableState::kShouldBlockUntilHeadReceived:
return ostream << "ShouldBlockUntilHeadReceived";
case PrefetchServableState::kShouldBlockUntilEligibilityGot:
return ostream << "ShouldBlockUntilEligibilityGot";
}
}
} // namespace content