Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceStatus.h

Issue 2859313003: Blink class layout optimization to reduce memory usage (Closed)
Patch Set: Resolved merge conflict and changed blink::ResourceStatus enum to be based on uint8_t Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Image.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ResourceStatus_h 5 #ifndef ResourceStatus_h
6 #define ResourceStatus_h 6 #define ResourceStatus_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 enum class ResourceStatus { 10 enum class ResourceStatus : uint8_t {
11 kNotStarted, 11 kNotStarted,
12 kPending, // load in progress 12 kPending, // load in progress
13 kCached, // load completed successfully 13 kCached, // load completed successfully
14 kLoadError, 14 kLoadError,
15 kDecodeError 15 kDecodeError
16 }; 16 };
17 17
18 } // namespace blink 18 } // namespace blink
19 19
20 #endif 20 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Image.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698