blob: 7f0556effdcbd4f49f444b5bb9fc5090f2e3d77f [file] [log] [blame]
Hiroshige Hayashizakib3ff61d2025-08-12 06:28:081// Copyright 2025 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "content/browser/preloading/prefetch/prefetch_servable_state.h"
6
7namespace content {
8
9CONTENT_EXPORT std::ostream& operator<<(std::ostream& ostream,
10 PrefetchServableState servable_state) {
11 switch (servable_state) {
12 case PrefetchServableState::kNotServable:
13 return ostream << "NotServable";
14 case PrefetchServableState::kServable:
15 return ostream << "Servable";
16 case PrefetchServableState::kShouldBlockUntilHeadReceived:
17 return ostream << "ShouldBlockUntilHeadReceived";
18 case PrefetchServableState::kShouldBlockUntilEligibilityGot:
19 return ostream << "ShouldBlockUntilEligibilityGot";
20 }
21}
22
23} // namespace content