summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/loader/fetch/resource_status.h
blob: 28773d48bf2839e40f43eec61aa90f0d9a985cb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_FETCH_RESOURCE_STATUS_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_FETCH_RESOURCE_STATUS_H_

namespace blink {

enum class ResourceStatus : uint8_t {
  kNotStarted,
  kPending,  // load in progress
  kCached,   // load completed successfully
  kLoadError,
  kDecodeError
};

}  // namespace blink

#endif